Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: xfa/fwl/core/ifwl_combobox.h

Issue 2521303002: Rename IFWL_App to CFWL_App (Closed)
Patch Set: Rebase to master Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fwl/core/ifwl_checkbox.cpp ('k') | xfa/fwl/core/ifwl_combobox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_FWL_CORE_IFWL_COMBOBOX_H_ 7 #ifndef XFA_FWL_CORE_IFWL_COMBOBOX_H_
8 #define XFA_FWL_CORE_IFWL_COMBOBOX_H_ 8 #define XFA_FWL_CORE_IFWL_COMBOBOX_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #define FWL_STYLEEXT_CMB_ListItemIconText (1L << 12) 47 #define FWL_STYLEEXT_CMB_ListItemIconText (1L << 12)
48 #define FWL_STYLEEXT_CMB_ReadOnly (1L << 13) 48 #define FWL_STYLEEXT_CMB_ReadOnly (1L << 13)
49 49
50 class IFWL_ComboBox : public IFWL_Widget { 50 class IFWL_ComboBox : public IFWL_Widget {
51 public: 51 public:
52 class DataProvider : public IFWL_ListBox::DataProvider { 52 class DataProvider : public IFWL_ListBox::DataProvider {
53 public: 53 public:
54 virtual FX_FLOAT GetListHeight(IFWL_Widget* pWidget) = 0; 54 virtual FX_FLOAT GetListHeight(IFWL_Widget* pWidget) = 0;
55 }; 55 };
56 56
57 explicit IFWL_ComboBox(const IFWL_App* app, 57 explicit IFWL_ComboBox(const CFWL_App* app,
58 std::unique_ptr<CFWL_WidgetProperties> properties); 58 std::unique_ptr<CFWL_WidgetProperties> properties);
59 ~IFWL_ComboBox() override; 59 ~IFWL_ComboBox() override;
60 60
61 // IFWL_Widget 61 // IFWL_Widget
62 FWL_Type GetClassID() const override; 62 FWL_Type GetClassID() const override;
63 void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override; 63 void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override;
64 void ModifyStylesEx(uint32_t dwStylesExAdded, 64 void ModifyStylesEx(uint32_t dwStylesExAdded,
65 uint32_t dwStylesExRemoved) override; 65 uint32_t dwStylesExRemoved) override;
66 void SetStates(uint32_t dwStates, bool bSet = true) override; 66 void SetStates(uint32_t dwStates, bool bSet = true) override;
67 void Update() override; 67 void Update() override;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 IFWL_ComboBoxProxy* m_pComboBoxProxy; // Can this be a unique_ptr? 168 IFWL_ComboBoxProxy* m_pComboBoxProxy; // Can this be a unique_ptr?
169 bool m_bLButtonDown; 169 bool m_bLButtonDown;
170 bool m_bUpFormHandler; 170 bool m_bUpFormHandler;
171 int32_t m_iCurSel; 171 int32_t m_iCurSel;
172 int32_t m_iBtnState; 172 int32_t m_iBtnState;
173 FX_FLOAT m_fComboFormHandler; 173 FX_FLOAT m_fComboFormHandler;
174 FX_FLOAT m_fItemHeight; 174 FX_FLOAT m_fItemHeight;
175 }; 175 };
176 176
177 #endif // XFA_FWL_CORE_IFWL_COMBOBOX_H_ 177 #endif // XFA_FWL_CORE_IFWL_COMBOBOX_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_checkbox.cpp ('k') | xfa/fwl/core/ifwl_combobox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698