diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-22 21:28:58 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-22 21:28:58 +0000 |
commit | bc948ce8d553422ef2a6285356e09e0261702583 (patch) | |
tree | 557fdd07a2595d6bbd84c38fab41626719c162dc /xfa/fxfa/cxfa_ffnotify.h | |
parent | 04f50cf6ce219c7526acc6304ef2efd8c151f998 (diff) | |
download | pdfium-bc948ce8d553422ef2a6285356e09e0261702583.tar.xz |
Remove CXFA_WidgetAcc from CXFA_FFNotify
This CL updates CXFA_FFNotify to use CXFA_Node instead of CXFA_WidgetAcc
in its methods.
Change-Id: I5036767f439ba0794a7b2b9df1898aad8390f987
Reviewed-on: https://pdfium-review.googlesource.com/23411
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffnotify.h')
-rw-r--r-- | xfa/fxfa/cxfa_ffnotify.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xfa/fxfa/cxfa_ffnotify.h b/xfa/fxfa/cxfa_ffnotify.h index c9a97859b6..94d8ebd552 100644 --- a/xfa/fxfa/cxfa_ffnotify.h +++ b/xfa/fxfa/cxfa_ffnotify.h @@ -57,9 +57,8 @@ class CXFA_FFNotify { bool RunScript(CXFA_Script* pScript, CXFA_Node* pFormItem); int32_t ExecEventByDeepFirst(CXFA_Node* pFormNode, XFA_EVENTTYPE eEventType, - bool bIsFormReady = false, - bool bRecursive = true, - CXFA_WidgetAcc* pExclude = nullptr); + bool bIsFormReady, + bool bRecursive); void AddCalcValidate(CXFA_Node* pNode); CXFA_FFDoc* GetHDOC(); IXFA_DocEnvironment* GetDocEnvironment() const; @@ -68,7 +67,7 @@ class CXFA_FFNotify { CXFA_FFWidget* GetHWidget(CXFA_LayoutItem* pLayoutItem); void OpenDropDownList(CXFA_FFWidget* hWidget); WideString GetCurrentDateTime(); - void ResetData(CXFA_WidgetAcc* pWidgetAcc = nullptr); + void ResetData(CXFA_Node* pNode); int32_t GetLayoutStatus(); void RunNodeInitialize(CXFA_Node* pNode); void RunSubformIndexChange(CXFA_Node* pSubformNode); |