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

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
« no previous file with comments | « xfa/fwl/basewidget/ifwl_checkbox.h ('k') | xfa/fwl/basewidget/ifwl_datetimepicker.h » ('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_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" 53 // TODO(dsinclair): Event hash is hash of string, cleanup. pdfium:474
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 54 #define FWL_EVTHASH_CMB_PreDropDown 1357646798
61 #define FWL_EVTHASH_CMB_PostDropDown 3677010285 55 #define FWL_EVTHASH_CMB_PostDropDown 3677010285
62 #define FWL_EVTHASH_CMB_CloseUp 2871271190 56 #define FWL_EVTHASH_CMB_CloseUp 2871271190
63 #define FWL_EVTHASH_CMB_EditChanged 1527034762 57 #define FWL_EVTHASH_CMB_EditChanged 1527034762
64 #define FWL_EVTHASH_CMB_SelChanged 2923227784 58 #define FWL_EVTHASH_CMB_SelChanged 2923227784
65 #define FWL_EVTHASH_CMB_HoverChanged 944325448 59 #define FWL_EVTHASH_CMB_HoverChanged 944325448
66 #define FWL_EVTHASH_CMB_DrawItem 917354551 60 #define FWL_EVTHASH_CMB_DrawItem 917354551
67 61
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) 62 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbPreDropDown, FWL_EVTHASH_CMB_PreDropDown)
75 END_FWL_EVENT_DEF 63 END_FWL_EVENT_DEF
76 64
77 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbPostDropDown, FWL_EVTHASH_CMB_PostDropDown) 65 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbPostDropDown, FWL_EVTHASH_CMB_PostDropDown)
78 END_FWL_EVENT_DEF 66 END_FWL_EVENT_DEF
79 67
80 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbCloseUp, FWL_EVTHASH_CMB_CloseUp) 68 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbCloseUp, FWL_EVTHASH_CMB_CloseUp)
81 END_FWL_EVENT_DEF 69 END_FWL_EVENT_DEF
82 70
83 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbEditChanged, FWL_EVTHASH_CMB_EditChanged) 71 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(); 131 FX_BOOL EditDeSelect();
144 FWL_ERR GetBBox(CFX_RectF& rect); 132 FWL_ERR GetBBox(CFX_RectF& rect);
145 FWL_ERR EditModifyStylesEx(uint32_t dwStylesExAdded, 133 FWL_ERR EditModifyStylesEx(uint32_t dwStylesExAdded,
146 uint32_t dwStylesExRemoved); 134 uint32_t dwStylesExRemoved);
147 135
148 protected: 136 protected:
149 IFWL_ComboBox(); 137 IFWL_ComboBox();
150 }; 138 };
151 139
152 #endif // XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_ 140 #endif // XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/ifwl_checkbox.h ('k') | xfa/fwl/basewidget/ifwl_datetimepicker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698