summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_fftextedit.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-23 15:19:44 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-23 19:54:44 +0000
commit25d2ad482399ec20fdd0542d7c286ed06842f053 (patch)
tree01ff413c765c1e30b123e5a88681eb6f1f92aab9 /xfa/fxfa/app/xfa_fftextedit.h
parentcd933f8633e95e1a6e6a885d30447835ca664f69 (diff)
downloadpdfium-25d2ad482399ec20fdd0542d7c286ed06842f053.tar.xz
Tighten up XFA Visibility
This Cl changes the protected sections to be private where possible in XFA. Change-Id: Ibeb6ad00389686b666b1c3c5e136b9eefe35ec9e Reviewed-on: https://pdfium-review.googlesource.com/3164 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/app/xfa_fftextedit.h')
-rw-r--r--xfa/fxfa/app/xfa_fftextedit.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/xfa/fxfa/app/xfa_fftextedit.h b/xfa/fxfa/app/xfa_fftextedit.h
index 1e0562a75b..9b9324f9d2 100644
--- a/xfa/fxfa/app/xfa_fftextedit.h
+++ b/xfa/fxfa/app/xfa_fftextedit.h
@@ -36,14 +36,15 @@ class CXFA_FFTextEdit : public CXFA_FFField {
bool CheckWord(const CFX_ByteStringC& sWord);
protected:
+ uint32_t GetAlignment();
+
+ IFWL_WidgetDelegate* m_pOldDelegate;
+
+ private:
bool CommitData() override;
bool UpdateFWLData() override;
bool IsDataChanged() override;
-
- uint32_t GetAlignment();
void ValidateNumberField(const CFX_WideString& wsText);
-
- IFWL_WidgetDelegate* m_pOldDelegate;
};
class CXFA_FFNumericEdit : public CXFA_FFTextEdit {
@@ -56,7 +57,7 @@ class CXFA_FFNumericEdit : public CXFA_FFTextEdit {
void UpdateWidgetProperty() override;
void OnProcessEvent(CFWL_Event* pEvent) override;
- public:
+ private:
bool OnValidate(CFWL_Widget* pWidget, CFX_WideString& wsText);
};
@@ -68,8 +69,6 @@ class CXFA_FFPasswordEdit : public CXFA_FFTextEdit {
// CXFA_FFTextEdit
bool LoadWidget() override;
void UpdateWidgetProperty() override;
-
- protected:
};
enum XFA_DATETIMETYPE {
@@ -94,7 +93,7 @@ class CXFA_FFDateTimeEdit : public CXFA_FFTextEdit {
int32_t iMonth,
int32_t iDay);
- protected:
+ private:
bool PtInActiveRect(const CFX_PointF& point) override;
bool CommitData() override;
bool UpdateFWLData() override;