summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffdocview.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-03 15:22:37 -0500
committerChromium commit bot <commit-bot@chromium.org>2018-01-03 21:15:21 +0000
commit368c634f87eb5fdf03a532d3125d9b6c5400f61a (patch)
tree9b029f7d1cb63f56f187b28c898a112a42913969 /xfa/fxfa/cxfa_ffdocview.h
parent44820980f762797f1ffba61b9f5b8cf0922489a3 (diff)
downloadpdfium-368c634f87eb5fdf03a532d3125d9b6c5400f61a.tar.xz
Fold CXFA_BindItemsData into CXFA_BindItems
This CL merges CXFA_BindItemsData into the CXFA_BindItems class. Change-Id: I424274fcd6a9a4376d78794b1014988c3649602f Reviewed-on: https://pdfium-review.googlesource.com/22170 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffdocview.h')
-rw-r--r--xfa/fxfa/cxfa_ffdocview.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_ffdocview.h b/xfa/fxfa/cxfa_ffdocview.h
index e5b27b58ea..be03c10043 100644
--- a/xfa/fxfa/cxfa_ffdocview.h
+++ b/xfa/fxfa/cxfa_ffdocview.h
@@ -15,6 +15,7 @@
#include "xfa/fxfa/cxfa_eventparam.h"
#include "xfa/fxfa/cxfa_ffdoc.h"
+class CXFA_BindItems;
class CXFA_FFWidgetHandler;
class CXFA_FFDoc;
class CXFA_FFWidget;
@@ -102,14 +103,15 @@ class CXFA_FFDocView {
bool bIsFormReady,
bool bRecursive,
CXFA_Node* pExclude);
+
+ void AddBindItem(CXFA_BindItems* item) { m_BindItems.push_back(item); }
+
bool m_bLayoutEvent;
std::vector<WideString> m_arrNullTestMsg;
CXFA_FFWidget* m_pListFocusWidget;
bool m_bInLayoutStatus;
private:
- friend class CXFA_FFNotify;
-
bool RunEventLayoutReady();
void RunBindItems();
void InitCalculate(CXFA_Node* pNode);
@@ -128,7 +130,7 @@ class CXFA_FFDocView {
std::map<CXFA_FFPageView*, std::unique_ptr<CFX_RectF>> m_mapPageInvalidate;
std::vector<CXFA_WidgetAcc*> m_ValidateAccs;
std::vector<CXFA_WidgetAcc*> m_CalculateAccs;
- std::vector<CXFA_Node*> m_BindItems;
+ std::vector<CXFA_BindItems*> m_BindItems;
std::vector<CXFA_Node*> m_NewAddedNodes;
std::vector<CXFA_Node*> m_IndexChangedSubforms;
XFA_DOCVIEW_LAYOUTSTATUS m_iStatus;