Mark some xfa-only methods private in cffl_interactiveformfiller.h
Change-Id: I3a35729a1fc78af7489ce590b911dcfcf115524a
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/59770
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/fpdfsdk/formfiller/cffl_interactiveformfiller.h b/fpdfsdk/formfiller/cffl_interactiveformfiller.h
index 1d2c39b..d618d92 100644
--- a/fpdfsdk/formfiller/cffl_interactiveformfiller.h
+++ b/fpdfsdk/formfiller/cffl_interactiveformfiller.h
@@ -121,21 +121,6 @@
bool selected);
bool IsIndexSelected(ObservedPtr<CPDFSDK_Annot>* pAnnot, int index);
-#ifdef PDF_ENABLE_XFA
- bool OnClick(ObservedPtr<CPDFSDK_Annot>* pAnnot,
- CPDFSDK_PageView* pPageView,
- uint32_t nFlag);
- bool OnFull(ObservedPtr<CPDFSDK_Annot>* pAnnot,
- CPDFSDK_PageView* pPageView,
- uint32_t nFlag);
- bool OnPreOpen(ObservedPtr<CPDFSDK_Annot>* pAnnot,
- CPDFSDK_PageView* pPageView,
- uint32_t nFlag);
- bool OnPostOpen(ObservedPtr<CPDFSDK_Annot>* pAnnot,
- CPDFSDK_PageView* pPageView,
- uint32_t nFlag);
-#endif // PDF_ENABLE_XFA
-
private:
using WidgetToFormFillerMap =
std::map<CPDFSDK_Annot*, std::unique_ptr<CFFL_FormFiller>>;
@@ -162,6 +147,18 @@
#ifdef PDF_ENABLE_XFA
void SetFocusAnnotTab(CPDFSDK_Annot* pWidget, bool bSameField, bool bNext);
+ bool OnClick(ObservedPtr<CPDFSDK_Annot>* pAnnot,
+ CPDFSDK_PageView* pPageView,
+ uint32_t nFlag);
+ bool OnFull(ObservedPtr<CPDFSDK_Annot>* pAnnot,
+ CPDFSDK_PageView* pPageView,
+ uint32_t nFlag);
+ bool OnPreOpen(ObservedPtr<CPDFSDK_Annot>* pAnnot,
+ CPDFSDK_PageView* pPageView,
+ uint32_t nFlag);
+ bool OnPostOpen(ObservedPtr<CPDFSDK_Annot>* pAnnot,
+ CPDFSDK_PageView* pPageView,
+ uint32_t nFlag);
#endif // PDF_ENABLE_XFA
CFFL_FormFiller* GetFormFiller(CPDFSDK_Annot* pAnnot);