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

Side by Side Diff: xfa/fwl/basewidget/ifwl_datetimepicker.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_DATETIMEPICKER_H_ 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_DATETIMEPICKER_H_
8 #define XFA_FWL_BASEWIDGET_IFWL_DATETIMEPICKER_H_ 8 #define XFA_FWL_BASEWIDGET_IFWL_DATETIMEPICKER_H_
9 9
10 #include "xfa/fwl/core/ifwl_widget.h" 10 #include "xfa/fwl/core/ifwl_widget.h"
(...skipping 20 matching lines...) Expand all
31 #define FWL_STYLEEXT_DTP_EditVAlignMask (3L << 6) 31 #define FWL_STYLEEXT_DTP_EditVAlignMask (3L << 6)
32 #define FWL_STYLEEXT_DTP_EditHAlignModeMask (3L << 8) 32 #define FWL_STYLEEXT_DTP_EditHAlignModeMask (3L << 8)
33 #define FWL_PART_DTP_Border 1 33 #define FWL_PART_DTP_Border 1
34 #define FWL_PART_DTP_Edge 2 34 #define FWL_PART_DTP_Edge 2
35 #define FWL_PART_DTP_Background 3 35 #define FWL_PART_DTP_Background 3
36 #define FWL_PART_DTP_DropDownButton 4 36 #define FWL_PART_DTP_DropDownButton 4
37 #define FWL_PARTSTATE_DTP_Normal (0L << 0) 37 #define FWL_PARTSTATE_DTP_Normal (0L << 0)
38 #define FWL_PARTSTATE_DTP_Hovered (1L << 0) 38 #define FWL_PARTSTATE_DTP_Hovered (1L << 0)
39 #define FWL_PARTSTATE_DTP_Pressed (2L << 0) 39 #define FWL_PARTSTATE_DTP_Pressed (2L << 0)
40 #define FWL_PARTSTATE_DTP_Disabled (3L << 0) 40 #define FWL_PARTSTATE_DTP_Disabled (3L << 0)
41 #define FWL_EVT_DTP_DropDown L"FWL_EVENT_DTP_DropDown"
42 #define FWL_EVTHASH_DTP_DropDown 264728733 41 #define FWL_EVTHASH_DTP_DropDown 264728733
43 #define FWL_EVT_DTP_CloseUp L"FWL_EVENT_DTP_CloseUp"
44 #define FWL_EVTHASH_DTP_CloseUp 4280973803 42 #define FWL_EVTHASH_DTP_CloseUp 4280973803
45 #define FWL_EVT_DTP_EditChanged L"FWL_EVENT_DTP_EditChanged"
46 #define FWL_EVTHASH_DTP_EditChanged 4009610944 43 #define FWL_EVTHASH_DTP_EditChanged 4009610944
47 #define FWL_EVT_DTP_HoverChanged L"FWL_EVENT_DTP_HoverChanged"
48 #define FWL_EVTHASH_DTP_HoverChanged 686674750 44 #define FWL_EVTHASH_DTP_HoverChanged 686674750
49 #define FWL_EVT_DTP_SelectChanged L"FWL_EVENT_DTP_SelectChanged"
50 #define FWL_EVTHASH_DTP_SelectChanged 1589616858 45 #define FWL_EVTHASH_DTP_SelectChanged 1589616858
51 46
52 BEGIN_FWL_EVENT_DEF(CFWL_Event_DtpDropDown, FWL_EVTHASH_DTP_DropDown) 47 BEGIN_FWL_EVENT_DEF(CFWL_Event_DtpDropDown, FWL_EVTHASH_DTP_DropDown)
53 END_FWL_EVENT_DEF 48 END_FWL_EVENT_DEF
54 49
55 BEGIN_FWL_EVENT_DEF(CFWL_Event_DtpCloseUp, FWL_EVTHASH_DTP_CloseUp) 50 BEGIN_FWL_EVENT_DEF(CFWL_Event_DtpCloseUp, FWL_EVTHASH_DTP_CloseUp)
56 END_FWL_EVENT_DEF 51 END_FWL_EVENT_DEF
57 52
58 BEGIN_FWL_EVENT_DEF(CFWL_Event_DtpEditChanged, FWL_EVTHASH_DTP_EditChanged) 53 BEGIN_FWL_EVENT_DEF(CFWL_Event_DtpEditChanged, FWL_EVTHASH_DTP_EditChanged)
59 CFX_WideString m_wsText; 54 CFX_WideString m_wsText;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 FWL_ERR GetBBox(CFX_RectF& rect); 101 FWL_ERR GetBBox(CFX_RectF& rect);
107 FWL_ERR SetEditLimit(int32_t nLimit); 102 FWL_ERR SetEditLimit(int32_t nLimit);
108 FWL_ERR ModifyEditStylesEx(uint32_t dwStylesExAdded, 103 FWL_ERR ModifyEditStylesEx(uint32_t dwStylesExAdded,
109 uint32_t dwStylesExRemoved); 104 uint32_t dwStylesExRemoved);
110 105
111 protected: 106 protected:
112 IFWL_DateTimePicker(); 107 IFWL_DateTimePicker();
113 }; 108 };
114 109
115 #endif // XFA_FWL_BASEWIDGET_IFWL_DATETIMEPICKER_H_ 110 #endif // XFA_FWL_BASEWIDGET_IFWL_DATETIMEPICKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698