summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_widgetacc.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-03 17:25:02 -0500
committerChromium commit bot <commit-bot@chromium.org>2018-01-04 16:02:33 +0000
commita0af75cc4d1e50bb2832dc58636043afe565b02b (patch)
tree7474018a95fbefc318e3316074cc982910e9036f /xfa/fxfa/cxfa_widgetacc.h
parent4cf0589c4bc388781cbfc8459c4904bb2bd947bf (diff)
downloadpdfium-a0af75cc4d1e50bb2832dc58636043afe565b02b.tar.xz
Fold CXFA_EventData into CXFA_Event
This CL removes the CXFA_EventData wrapper and puts the code into CXFA_Event. Change-Id: I799a641c434ff926f3ddade1f47845b5666dbbec Reviewed-on: https://pdfium-review.googlesource.com/21991 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_widgetacc.h')
-rw-r--r--xfa/fxfa/cxfa_widgetacc.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_widgetacc.h b/xfa/fxfa/cxfa_widgetacc.h
index e09f447a48..3563ff4038 100644
--- a/xfa/fxfa/cxfa_widgetacc.h
+++ b/xfa/fxfa/cxfa_widgetacc.h
@@ -14,10 +14,10 @@
#include "core/fxcrt/retain_ptr.h"
#include "core/fxge/dib/cfx_dibitmap.h"
#include "core/fxge/fx_dib.h"
-#include "xfa/fxfa/parser/cxfa_eventdata.h"
#include "xfa/fxfa/parser/cxfa_widgetdata.h"
class CFGAS_GEFont;
+class CXFA_Event;
class CXFA_EventParam;
class CXFA_FFApp;
class CXFA_FFDoc;
@@ -42,8 +42,7 @@ class CXFA_WidgetAcc : public CXFA_WidgetData {
bool ProcessValueChanged();
int32_t ProcessEvent(XFA_AttributeEnum iActivity,
CXFA_EventParam* pEventParam);
- int32_t ProcessEvent(const CXFA_EventData& eventData,
- CXFA_EventParam* pEventParam);
+ int32_t ProcessEvent(CXFA_Event* event, CXFA_EventParam* pEventParam);
int32_t ProcessCalculate();
int32_t ProcessValidate(int32_t iFlags);
int32_t ExecuteScript(CXFA_Script* script, CXFA_EventParam* pEventParam);