OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_FWL_CORE_IFWL_COMBOEDIT_H_ | 7 #ifndef XFA_FWL_CORE_IFWL_COMBOEDIT_H_ |
8 #define XFA_FWL_CORE_IFWL_COMBOEDIT_H_ | 8 #define XFA_FWL_CORE_IFWL_COMBOEDIT_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "xfa/fwl/core/cfwl_widgetproperties.h" | 12 #include "xfa/fwl/core/cfwl_widgetproperties.h" |
13 #include "xfa/fwl/core/ifwl_edit.h" | 13 #include "xfa/fwl/core/ifwl_edit.h" |
14 #include "xfa/fwl/core/ifwl_widget.h" | 14 #include "xfa/fwl/core/ifwl_widget.h" |
15 | 15 |
16 class IFWL_ComboBox; | 16 class IFWL_ComboBox; |
17 | 17 |
18 class IFWL_ComboEdit : public IFWL_Edit { | 18 class IFWL_ComboEdit : public IFWL_Edit { |
19 public: | 19 public: |
20 IFWL_ComboEdit(const IFWL_App* app, | 20 IFWL_ComboEdit(const CFWL_App* app, |
21 std::unique_ptr<CFWL_WidgetProperties> properties, | 21 std::unique_ptr<CFWL_WidgetProperties> properties, |
22 IFWL_Widget* pOuter); | 22 IFWL_Widget* pOuter); |
23 | 23 |
24 // IFWL_Edit. | 24 // IFWL_Edit. |
25 void OnProcessMessage(CFWL_Message* pMessage) override; | 25 void OnProcessMessage(CFWL_Message* pMessage) override; |
26 | 26 |
27 void ClearSelected(); | 27 void ClearSelected(); |
28 void SetSelected(); | 28 void SetSelected(); |
29 void FlagFocus(bool bSet); | 29 void FlagFocus(bool bSet); |
30 | 30 |
31 private: | 31 private: |
32 IFWL_ComboBox* m_pOuter; | 32 IFWL_ComboBox* m_pOuter; |
33 }; | 33 }; |
34 | 34 |
35 #endif // XFA_FWL_CORE_IFWL_COMBOEDIT_H_ | 35 #endif // XFA_FWL_CORE_IFWL_COMBOEDIT_H_ |
OLD | NEW |