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

Side by Side Diff: xfa/fwl/cfwl_combobox.h

Issue 2576483002: Remove unused CFWL_ListBox code (Closed)
Patch Set: Review feedback 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 | « no previous file | xfa/fwl/cfwl_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_CFWL_COMBOBOX_H_ 7 #ifndef XFA_FWL_CFWL_COMBOBOX_H_
8 #define XFA_FWL_CFWL_COMBOBOX_H_ 8 #define XFA_FWL_CFWL_COMBOBOX_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 26 matching lines...) Expand all
37 #define FWL_STYLEEXT_CMB_EditJustified (1L << 8) 37 #define FWL_STYLEEXT_CMB_EditJustified (1L << 8)
38 #define FWL_STYLEEXT_CMB_EditDistributed (2L << 8) 38 #define FWL_STYLEEXT_CMB_EditDistributed (2L << 8)
39 #define FWL_STYLEEXT_CMB_EditHAlignMask (3L << 4) 39 #define FWL_STYLEEXT_CMB_EditHAlignMask (3L << 4)
40 #define FWL_STYLEEXT_CMB_EditVAlignMask (3L << 6) 40 #define FWL_STYLEEXT_CMB_EditVAlignMask (3L << 6)
41 #define FWL_STYLEEXT_CMB_EditHAlignModeMask (3L << 8) 41 #define FWL_STYLEEXT_CMB_EditHAlignModeMask (3L << 8)
42 #define FWL_STYLEEXT_CMB_ListItemLeftAlign (0L << 10) 42 #define FWL_STYLEEXT_CMB_ListItemLeftAlign (0L << 10)
43 #define FWL_STYLEEXT_CMB_ListItemCenterAlign (1L << 10) 43 #define FWL_STYLEEXT_CMB_ListItemCenterAlign (1L << 10)
44 #define FWL_STYLEEXT_CMB_ListItemRightAlign (2L << 10) 44 #define FWL_STYLEEXT_CMB_ListItemRightAlign (2L << 10)
45 #define FWL_STYLEEXT_CMB_ListItemAlignMask (3L << 10) 45 #define FWL_STYLEEXT_CMB_ListItemAlignMask (3L << 10)
46 #define FWL_STYLEEXT_CMB_ListItemText (0L << 12) 46 #define FWL_STYLEEXT_CMB_ListItemText (0L << 12)
47 #define FWL_STYLEEXT_CMB_ListItemIconText (1L << 12)
48 #define FWL_STYLEEXT_CMB_ReadOnly (1L << 13) 47 #define FWL_STYLEEXT_CMB_ReadOnly (1L << 13)
49 48
50 class CFWL_ComboBox : public CFWL_Widget { 49 class CFWL_ComboBox : public CFWL_Widget {
51 public: 50 public:
52 explicit CFWL_ComboBox(const CFWL_App* pApp); 51 explicit CFWL_ComboBox(const CFWL_App* pApp);
53 ~CFWL_ComboBox() override; 52 ~CFWL_ComboBox() override;
54 53
55 // CFWL_Widget 54 // CFWL_Widget
56 FWL_Type GetClassID() const override; 55 FWL_Type GetClassID() const override;
57 void ModifyStylesEx(uint32_t dwStylesExAdded, 56 void ModifyStylesEx(uint32_t dwStylesExAdded,
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 CFWL_ComboBoxProxy* m_pComboBoxProxy; // Can this be a unique_ptr? 162 CFWL_ComboBoxProxy* m_pComboBoxProxy; // Can this be a unique_ptr?
164 bool m_bLButtonDown; 163 bool m_bLButtonDown;
165 bool m_bUpFormHandler; 164 bool m_bUpFormHandler;
166 int32_t m_iCurSel; 165 int32_t m_iCurSel;
167 int32_t m_iBtnState; 166 int32_t m_iBtnState;
168 FX_FLOAT m_fComboFormHandler; 167 FX_FLOAT m_fComboFormHandler;
169 FX_FLOAT m_fItemHeight; 168 FX_FLOAT m_fItemHeight;
170 }; 169 };
171 170
172 #endif // XFA_FWL_CFWL_COMBOBOX_H_ 171 #endif // XFA_FWL_CFWL_COMBOBOX_H_
OLDNEW
« no previous file with comments | « no previous file | xfa/fwl/cfwl_combobox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698