1 // Copyright 2017 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef XFA_FXFA_CXFA_FFPASSWORDEDIT_H_ 8 #define XFA_FXFA_CXFA_FFPASSWORDEDIT_H_ 9 10 #include "core/fxcrt/unowned_ptr.h" 11 #include "xfa/fxfa/cxfa_fftextedit.h" 12 13 class CXFA_PasswordEdit; 14 15 class CXFA_FFPasswordEdit final : public CXFA_FFTextEdit { 16 public: 17 CXFA_FFPasswordEdit(CXFA_Node* pNode, CXFA_PasswordEdit* password_node); 18 ~CXFA_FFPasswordEdit() override; 19 20 // CXFA_FFTextEdit 21 bool LoadWidget() override; 22 void UpdateWidgetProperty() override; 23 24 private: 25 UnownedPtr<CXFA_PasswordEdit> const password_node_; 26 }; 27 28 #endif // XFA_FXFA_CXFA_FFPASSWORDEDIT_H_ 29