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

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

Issue 2432423002: Merge the CFWL_*Imp classes into the IFWL_* classes. (Closed)
Patch Set: Review feedback Created 4 years, 2 months 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/lightwidget/cfwl_checkbox.h ('k') | xfa/fwl/lightwidget/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_LIGHTWIDGET_CFWL_COMBOBOX_H_ 7 #ifndef XFA_FWL_LIGHTWIDGET_CFWL_COMBOBOX_H_
8 #define XFA_FWL_LIGHTWIDGET_CFWL_COMBOBOX_H_ 8 #define XFA_FWL_LIGHTWIDGET_CFWL_COMBOBOX_H_
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "xfa/fwl/basewidget/ifwl_combobox.h" 13 #include "xfa/fwl/core/ifwl_combobox.h"
14 #include "xfa/fwl/lightwidget/cfwl_widget.h" 14 #include "xfa/fwl/lightwidget/cfwl_widget.h"
15 15
16 class CFWL_WidgetProperties; 16 class CFWL_WidgetProperties;
17 class IFWL_ComboBoxDP; 17 class IFWL_ComboBoxDP;
18 class CFWL_ComboBoxDP; 18 class CFWL_ComboBoxDP;
19 class CFWL_ComboBoxItem; 19 class CFWL_ComboBoxItem;
20 20
21 class CFWL_ComboBox : public CFWL_Widget { 21 class CFWL_ComboBox : public CFWL_Widget {
22 public: 22 public:
23 CFWL_ComboBox(); 23 CFWL_ComboBox();
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 class CFWL_ComboBoxDP : public IFWL_ComboBoxDP { 75 class CFWL_ComboBoxDP : public IFWL_ComboBoxDP {
76 public: 76 public:
77 CFWL_ComboBoxDP(); 77 CFWL_ComboBoxDP();
78 ~CFWL_ComboBoxDP() override; 78 ~CFWL_ComboBoxDP() override;
79 79
80 // IFWL_DataProvider 80 // IFWL_DataProvider
81 FWL_Error GetCaption(IFWL_Widget* pWidget, 81 FWL_Error GetCaption(IFWL_Widget* pWidget,
82 CFX_WideString& wsCaption) override; 82 CFX_WideString& wsCaption) override;
83 83
84 // IFWL_ListBoxDP 84 // IFWL_ListBoxDP
85 int32_t CountItems(IFWL_Widget* pWidget) override; 85 int32_t CountItems(const IFWL_Widget* pWidget) override;
86 IFWL_ListItem* GetItem(IFWL_Widget* pWidget, int32_t nIndex) override; 86 IFWL_ListItem* GetItem(const IFWL_Widget* pWidget, int32_t nIndex) override;
87 int32_t GetItemIndex(IFWL_Widget* pWidget, IFWL_ListItem* pItem) override; 87 int32_t GetItemIndex(IFWL_Widget* pWidget, IFWL_ListItem* pItem) override;
88 FX_BOOL SetItemIndex(IFWL_Widget* pWidget, 88 FX_BOOL SetItemIndex(IFWL_Widget* pWidget,
89 IFWL_ListItem* pItem, 89 IFWL_ListItem* pItem,
90 int32_t nIndex) override; 90 int32_t nIndex) override;
91 91
92 uint32_t GetItemStyles(IFWL_Widget* pWidget, IFWL_ListItem* pItem) override; 92 uint32_t GetItemStyles(IFWL_Widget* pWidget, IFWL_ListItem* pItem) override;
93 FWL_Error GetItemText(IFWL_Widget* pWidget, 93 FWL_Error GetItemText(IFWL_Widget* pWidget,
94 IFWL_ListItem* pItem, 94 IFWL_ListItem* pItem,
95 CFX_WideString& wsText) override; 95 CFX_WideString& wsText) override;
96 FWL_Error GetItemRect(IFWL_Widget* pWidget, 96 FWL_Error GetItemRect(IFWL_Widget* pWidget,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 CFX_RectF m_rtItem; 139 CFX_RectF m_rtItem;
140 uint32_t m_dwStyles; 140 uint32_t m_dwStyles;
141 CFX_WideString m_wsText; 141 CFX_WideString m_wsText;
142 CFX_DIBitmap* m_pDIB; 142 CFX_DIBitmap* m_pDIB;
143 uint32_t m_dwCheckState; 143 uint32_t m_dwCheckState;
144 CFX_RectF m_rtCheckBox; 144 CFX_RectF m_rtCheckBox;
145 void* m_pData; 145 void* m_pData;
146 }; 146 };
147 147
148 #endif // XFA_FWL_LIGHTWIDGET_CFWL_COMBOBOX_H_ 148 #endif // XFA_FWL_LIGHTWIDGET_CFWL_COMBOBOX_H_
OLDNEW
« no previous file with comments | « xfa/fwl/lightwidget/cfwl_checkbox.h ('k') | xfa/fwl/lightwidget/cfwl_combobox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698