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

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

Issue 1874963002: Remove some FWL code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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
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_BASEWIDGET_IFWL_COMBOBOX_H_ 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_
8 #define XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_ 8 #define XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_
9 9
10 #include "xfa/fwl/basewidget/ifwl_listbox.h" 10 #include "xfa/fwl/basewidget/ifwl_listbox.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #define FWL_PART_CMB_Background 3 43 #define FWL_PART_CMB_Background 3
44 #define FWL_PART_CMB_DropDownButton 4 44 #define FWL_PART_CMB_DropDownButton 4
45 #define FWL_PART_CMB_Caption 5 45 #define FWL_PART_CMB_Caption 5
46 #define FWL_PART_CMB_StretcgHandler 6 46 #define FWL_PART_CMB_StretcgHandler 6
47 #define FWL_PARTSTATE_CMB_Normal (0L << 0) 47 #define FWL_PARTSTATE_CMB_Normal (0L << 0)
48 #define FWL_PARTSTATE_CMB_Hovered (1L << 0) 48 #define FWL_PARTSTATE_CMB_Hovered (1L << 0)
49 #define FWL_PARTSTATE_CMB_Pressed (2L << 0) 49 #define FWL_PARTSTATE_CMB_Pressed (2L << 0)
50 #define FWL_PARTSTATE_CMB_Disabled (3L << 0) 50 #define FWL_PARTSTATE_CMB_Disabled (3L << 0)
51 #define FWL_PARTSTATE_CMB_Selected (1L << 2) 51 #define FWL_PARTSTATE_CMB_Selected (1L << 2)
52 #define FWL_WGTCAPACITY_CMB_ComboFormHandler (FWL_WGTCAPACITY_MAX + 7) 52 #define FWL_WGTCAPACITY_CMB_ComboFormHandler (FWL_WGTCAPACITY_MAX + 7)
53 #define FWL_EVT_CMB_DropDown L"FWL_EVENT_CMB_PreDropDown"
Tom Sepez 2016/04/11 17:29:44 same here.
dsinclair 2016/04/11 19:47:32 Acknowledged.
54 #define FWL_EVT_CMB_PostDropDown L"FWL_EVENT_CMB_PostDropDown"
55 #define FWL_EVT_CMB_CloseUp L"FWL_EVENT_CMB_CloseUp"
56 #define FWL_EVT_CMB_EditChanged L"FWL_EVENT_CMB_EditChanged"
57 #define FWL_EVT_CMB_SelChanged L"FWL_EVENT_CMB_SelChanged"
58 #define FWL_EVT_CMB_HoverChanged L"FWL_EVENT_CMB_HoverChanged"
59 #define FWL_EVT_CMB_DrawItem L"FWL_EVENT_CMB_DrawItem"
60 #define FWL_EVTHASH_CMB_PreDropDown 1357646798 53 #define FWL_EVTHASH_CMB_PreDropDown 1357646798
61 #define FWL_EVTHASH_CMB_PostDropDown 3677010285 54 #define FWL_EVTHASH_CMB_PostDropDown 3677010285
62 #define FWL_EVTHASH_CMB_CloseUp 2871271190 55 #define FWL_EVTHASH_CMB_CloseUp 2871271190
63 #define FWL_EVTHASH_CMB_EditChanged 1527034762 56 #define FWL_EVTHASH_CMB_EditChanged 1527034762
64 #define FWL_EVTHASH_CMB_SelChanged 2923227784 57 #define FWL_EVTHASH_CMB_SelChanged 2923227784
65 #define FWL_EVTHASH_CMB_HoverChanged 944325448 58 #define FWL_EVTHASH_CMB_HoverChanged 944325448
66 #define FWL_EVTHASH_CMB_DrawItem 917354551 59 #define FWL_EVTHASH_CMB_DrawItem 917354551
67 60
68 enum FWL_CMB_TEXTCHANGED {
69 FWL_CMB_TEXTCHANGED_Insert = 0,
70 FWL_CMB_TEXTCHANGED_Delete,
71 FWL_CMB_TEXTCHANGED_Replace,
72 };
73
74 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbPreDropDown, FWL_EVTHASH_CMB_PreDropDown) 61 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbPreDropDown, FWL_EVTHASH_CMB_PreDropDown)
75 END_FWL_EVENT_DEF 62 END_FWL_EVENT_DEF
76 63
77 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbPostDropDown, FWL_EVTHASH_CMB_PostDropDown) 64 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbPostDropDown, FWL_EVTHASH_CMB_PostDropDown)
78 END_FWL_EVENT_DEF 65 END_FWL_EVENT_DEF
79 66
80 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbCloseUp, FWL_EVTHASH_CMB_CloseUp) 67 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbCloseUp, FWL_EVTHASH_CMB_CloseUp)
81 END_FWL_EVENT_DEF 68 END_FWL_EVENT_DEF
82 69
83 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbEditChanged, FWL_EVTHASH_CMB_EditChanged) 70 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbEditChanged, FWL_EVTHASH_CMB_EditChanged)
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 FX_BOOL EditDeSelect(); 130 FX_BOOL EditDeSelect();
144 FWL_ERR GetBBox(CFX_RectF& rect); 131 FWL_ERR GetBBox(CFX_RectF& rect);
145 FWL_ERR EditModifyStylesEx(uint32_t dwStylesExAdded, 132 FWL_ERR EditModifyStylesEx(uint32_t dwStylesExAdded,
146 uint32_t dwStylesExRemoved); 133 uint32_t dwStylesExRemoved);
147 134
148 protected: 135 protected:
149 IFWL_ComboBox(); 136 IFWL_ComboBox();
150 }; 137 };
151 138
152 #endif // XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_ 139 #endif // XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698