OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_FXFA_APP_XFA_FFCHOICELIST_H_ | 7 #ifndef XFA_FXFA_APP_XFA_FFCHOICELIST_H_ |
8 #define XFA_FXFA_APP_XFA_FFCHOICELIST_H_ | 8 #define XFA_FXFA_APP_XFA_FFCHOICELIST_H_ |
9 | 9 |
10 #include "xfa/fxfa/app/xfa_fffield.h" | 10 #include "xfa/fxfa/app/xfa_fffield.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 bool Undo() override; | 56 bool Undo() override; |
57 bool Redo() override; | 57 bool Redo() override; |
58 | 58 |
59 bool CanCopy() override; | 59 bool CanCopy() override; |
60 bool CanCut() override; | 60 bool CanCut() override; |
61 bool CanPaste() override; | 61 bool CanPaste() override; |
62 bool CanSelectAll() override; | 62 bool CanSelectAll() override; |
63 bool Copy(CFX_WideString& wsCopy) override; | 63 bool Copy(CFX_WideString& wsCopy) override; |
64 bool Cut(CFX_WideString& wsCut) override; | 64 bool Cut(CFX_WideString& wsCut) override; |
65 bool Paste(const CFX_WideString& wsPaste) override; | 65 bool Paste(const CFX_WideString& wsPaste) override; |
66 bool SelectAll() override; | 66 void SelectAll() override; |
67 bool Delete() override; | 67 void Delete() override; |
68 bool DeSelect() override; | 68 void DeSelect() override; |
69 | 69 |
70 // IFWL_WidgetDelegate | 70 // IFWL_WidgetDelegate |
71 void OnProcessMessage(CFWL_Message* pMessage) override; | 71 void OnProcessMessage(CFWL_Message* pMessage) override; |
72 void OnProcessEvent(CFWL_Event* pEvent) override; | 72 void OnProcessEvent(CFWL_Event* pEvent) override; |
73 void OnDrawWidget(CFX_Graphics* pGraphics, | 73 void OnDrawWidget(CFX_Graphics* pGraphics, |
74 const CFX_Matrix* pMatrix = nullptr) override; | 74 const CFX_Matrix* pMatrix = nullptr) override; |
75 | 75 |
76 virtual void OpenDropDownList(); | 76 virtual void OpenDropDownList(); |
77 | 77 |
78 void OnTextChanged(IFWL_Widget* pWidget, const CFX_WideString& wsChanged); | 78 void OnTextChanged(IFWL_Widget* pWidget, const CFX_WideString& wsChanged); |
(...skipping 14 matching lines...) Expand all Loading... |
93 bool IsDataChanged() override; | 93 bool IsDataChanged() override; |
94 | 94 |
95 uint32_t GetAlignment(); | 95 uint32_t GetAlignment(); |
96 void FWLEventSelChange(CXFA_EventParam* pParam); | 96 void FWLEventSelChange(CXFA_EventParam* pParam); |
97 | 97 |
98 CFX_WideString m_wsNewValue; | 98 CFX_WideString m_wsNewValue; |
99 IFWL_WidgetDelegate* m_pOldDelegate; | 99 IFWL_WidgetDelegate* m_pOldDelegate; |
100 }; | 100 }; |
101 | 101 |
102 #endif // XFA_FXFA_APP_XFA_FFCHOICELIST_H_ | 102 #endif // XFA_FXFA_APP_XFA_FFCHOICELIST_H_ |
OLD | NEW |