diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-30 17:29:21 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-30 17:29:21 +0000 |
commit | 1917cdd8c90b977772cdee16cf496e56dce1a2ad (patch) | |
tree | 6a3fc052a3783e4c1fcbd59713e689bd9561fb7a /fpdfsdk/cpdfsdk_widget.h | |
parent | af9f83656f986b1fd2316972f92f9b3f4c17f620 (diff) | |
download | pdfium-1917cdd8c90b977772cdee16cf496e56dce1a2ad.tar.xz |
Cleanup some CPDFSDK_Widget XFA code.
This CL removes unused Synchronization methods and makes methods private
which are not used externally.
Change-Id: Icd7106e20adc957b7ced45d8fc5014d84ac8a154
Reviewed-on: https://pdfium-review.googlesource.com/24590
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_widget.h')
-rw-r--r-- | fpdfsdk/cpdfsdk_widget.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.h b/fpdfsdk/cpdfsdk_widget.h index 4b1115043f..22d0e364c1 100644 --- a/fpdfsdk/cpdfsdk_widget.h +++ b/fpdfsdk/cpdfsdk_widget.h @@ -38,7 +38,6 @@ class CPDFSDK_Widget : public CPDFSDK_BAAnnot { public: #ifdef PDF_ENABLE_XFA CXFA_FFWidget* GetMixXFAWidget() const; - CXFA_FFWidget* GetGroupMixXFAWidget(); CXFA_FFWidgetHandler* GetXFAWidgetHandler() const; bool HasXFAAAction(PDFSDK_XFAAActionType eXFAAAT); @@ -47,17 +46,6 @@ class CPDFSDK_Widget : public CPDFSDK_BAAnnot { CPDFSDK_PageView* pPageView); void Synchronize(bool bSynchronizeElse); - void SynchronizeXFAValue(); - void SynchronizeXFAItems(); - - static void SynchronizeXFAValue(CXFA_FFDocView* pXFADocView, - CXFA_FFWidget* hWidget, - CPDF_FormField* pFormField, - CPDF_FormControl* pFormControl); - static void SynchronizeXFAItems(CXFA_FFDocView* pXFADocView, - CXFA_FFWidget* hWidget, - CPDF_FormField* pFormField, - CPDF_FormControl* pFormControl); #endif // PDF_ENABLE_XFA CPDFSDK_Widget(CPDF_Annot* pAnnot, @@ -94,9 +82,6 @@ class CPDFSDK_Widget : public CPDFSDK_BAAnnot { bool IsChecked() const; int GetAlignment() const; int GetMaxLen() const; -#ifdef PDF_ENABLE_XFA - WideString GetName() const; -#endif // PDF_ENABLE_XFA WideString GetAlternateName() const; void SetCheck(bool bChecked, bool bNotify); @@ -147,6 +132,11 @@ class CPDFSDK_Widget : public CPDFSDK_BAAnnot { CFX_Color GetFillPWLColor() const; private: +#ifdef PDF_ENABLE_XFA + CXFA_FFWidget* GetGroupMixXFAWidget(); + WideString GetName() const; +#endif // PDF_ENABLE_XFA + UnownedPtr<CPDFSDK_InterForm> const m_pInterForm; bool m_bAppModified; uint32_t m_nAppearanceAge; |