summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffpasswordedit.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-30 21:38:40 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-30 21:38:40 +0000
commit90d9386825b872a0b668eac5dff3e268fa7ad16c (patch)
treeb615bf156a49b6d4b4dc9d4dd1b628967044f0b2 /xfa/fxfa/cxfa_ffpasswordedit.h
parent7311006b16f30da32fed5145e2e1c2c04a5cea41 (diff)
downloadpdfium-90d9386825b872a0b668eac5dff3e268fa7ad16c.tar.xz
Shuffle more code out of CXFA_Node
This CL moves more code out of the CXFA_Node class and into specific subclasses. Change-Id: Idca36f251431bf7efd4da045aeabf097ab23f0ce Reviewed-on: https://pdfium-review.googlesource.com/24714 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffpasswordedit.h')
-rw-r--r--xfa/fxfa/cxfa_ffpasswordedit.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffpasswordedit.h b/xfa/fxfa/cxfa_ffpasswordedit.h
index 28528cd4f2..8f5093f181 100644
--- a/xfa/fxfa/cxfa_ffpasswordedit.h
+++ b/xfa/fxfa/cxfa_ffpasswordedit.h
@@ -7,16 +7,22 @@
#ifndef XFA_FXFA_CXFA_FFPASSWORDEDIT_H_
#define XFA_FXFA_CXFA_FFPASSWORDEDIT_H_
+#include "core/fxcrt/unowned_ptr.h"
#include "xfa/fxfa/cxfa_fftextedit.h"
+class CXFA_PasswordEdit;
+
class CXFA_FFPasswordEdit : public CXFA_FFTextEdit {
public:
- explicit CXFA_FFPasswordEdit(CXFA_Node* pNode);
+ CXFA_FFPasswordEdit(CXFA_Node* pNode, CXFA_PasswordEdit* password_node);
~CXFA_FFPasswordEdit() override;
// CXFA_FFTextEdit
bool LoadWidget() override;
void UpdateWidgetProperty() override;
+
+ private:
+ UnownedPtr<CXFA_PasswordEdit> password_node_;
};
#endif // XFA_FXFA_CXFA_FFPASSWORDEDIT_H_