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

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

Issue 2578603002: Remove unused sysbtn code (Closed)
Patch Set: 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 | « xfa/fwl/cfwl_sysbtn.cpp ('k') | no next file » | 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_FWL_WIDGETDEF_H_ 7 #ifndef XFA_FWL_FWL_WIDGETDEF_H_
8 #define XFA_FWL_FWL_WIDGETDEF_H_ 8 #define XFA_FWL_FWL_WIDGETDEF_H_
9 9
10 #define FWL_WGTSTYLE_OverLapper (0L << 0) 10 #define FWL_WGTSTYLE_OverLapper 0
Tom Sepez 2016/12/14 17:29:27 Again, we've got a 2-bit field starting at 0. How
dsinclair 2016/12/14 17:48:13 This file is cleaned up over several CLs. I'll shu
11 #define FWL_WGTSTYLE_Popup (1L << 0) 11 #define FWL_WGTSTYLE_Popup (1L << 0)
12 #define FWL_WGTSTYLE_Child (2L << 0) 12 #define FWL_WGTSTYLE_Child (2L << 0)
13 #define FWL_WGTSTYLE_Border (1L << 2) 13 #define FWL_WGTSTYLE_Border (1L << 2)
14 #define FWL_WGTSTYLE_MinimizeBox (1L << 6)
15 #define FWL_WGTSTYLE_MaximizeBox (1L << 7)
16 #define FWL_WGTSTYLE_CloseBox (1L << 8)
17 #define FWL_WGTSTYLE_HScroll (1L << 9) 14 #define FWL_WGTSTYLE_HScroll (1L << 9)
18 #define FWL_WGTSTYLE_VScroll (1L << 11) 15 #define FWL_WGTSTYLE_VScroll (1L << 11)
19 #define FWL_WGTSTYLE_LeftScrollbar (1L << 12) 16 #define FWL_WGTSTYLE_LeftScrollbar (1L << 12)
20 #define FWL_WGTSTYLE_LeftAlignment (0L << 13) 17 #define FWL_WGTSTYLE_LeftAlignment (0L << 13)
Tom Sepez 2016/12/14 17:29:27 ditto here, except they're unused?
dsinclair 2016/12/14 17:48:13 Acknowledged.
21 #define FWL_WGTSTYLE_CenterAlignment (1L << 13) 18 #define FWL_WGTSTYLE_CenterAlignment (1L << 13)
22 #define FWL_WGTSTYLE_RightAlignment (2L << 13) 19 #define FWL_WGTSTYLE_RightAlignment (2L << 13)
23 #define FWL_WGTSTYLE_TopAlignment (0L << 15) 20 #define FWL_WGTSTYLE_TopAlignment (0L << 15)
24 #define FWL_WGTSTYLE_VCenterAlignment (1L << 15) 21 #define FWL_WGTSTYLE_VCenterAlignment (1L << 15)
Tom Sepez 2016/12/14 17:29:27 and here, unused.
dsinclair 2016/12/14 17:48:13 Acknowledged.
25 #define FWL_WGTSTYLE_BottomAlignment (2L << 15) 22 #define FWL_WGTSTYLE_BottomAlignment (2L << 15)
26 #define FWL_WGTSTYLE_RTLReading (1L << 17) 23 #define FWL_WGTSTYLE_RTLReading (1L << 17)
27 #define FWL_WGTSTYLE_EdgeNone (0L << 19) 24 #define FWL_WGTSTYLE_EdgeNone (0L << 19)
28 #define FWL_WGTSTYLE_EdgeFlat (1L << 19) 25 #define FWL_WGTSTYLE_EdgeFlat (1L << 19)
29 #define FWL_WGTSTYLE_EdgeRaised (2L << 19) 26 #define FWL_WGTSTYLE_EdgeRaised (2L << 19)
30 #define FWL_WGTSTYLE_EdgeSunken (3L << 19) 27 #define FWL_WGTSTYLE_EdgeSunken (3L << 19)
31 #define FWL_WGTSTYLE_EdgeMask (3L << 19) 28 #define FWL_WGTSTYLE_EdgeMask (3L << 19)
32 #define FWL_WGTSTYLE_Shadow (3L << 21) 29 #define FWL_WGTSTYLE_Shadow (3L << 21)
33 #define FWL_WGTSTYLE_Group (1L << 22) 30 #define FWL_WGTSTYLE_Group (1L << 22)
34 #define FWL_WGTSTYLE_TabStop (1L << 23) 31 #define FWL_WGTSTYLE_TabStop (1L << 23)
35 #define FWL_WGTSTYLE_Offscreen (1L << 24) 32 #define FWL_WGTSTYLE_Offscreen (1L << 24)
36 #define FWL_WGTSTYLE_DragAcceptFiles (1L << 25) 33 #define FWL_WGTSTYLE_DragAcceptFiles (1L << 25)
37 #define FWL_WGTSTYLE_TopMost (1L << 26) 34 #define FWL_WGTSTYLE_TopMost (1L << 26)
38 #define FWL_WGTSTYLE_TransParent (1L << 27) 35 #define FWL_WGTSTYLE_TransParent (1L << 27)
39 #define FWL_WGTSTYLE_NoBackground (1L << 28) 36 #define FWL_WGTSTYLE_NoBackground (1L << 28)
40 #define FWL_WGTSTYLE_WindowTypeMask (3L << 0) 37 #define FWL_WGTSTYLE_WindowTypeMask (3L << 0)
Tom Sepez 2016/12/14 17:29:27 and here it is! the mask constant, move to line 1
dsinclair 2016/12/14 17:48:13 Acknowledged.
41 #define FWL_WGTSTATE_Restored (0L << 0) 38 #define FWL_WGTSTATE_Restored (0L << 0)
42 #define FWL_WGTSTATE_Minimized (1L << 0) 39 #define FWL_WGTSTATE_Minimized (1L << 0)
43 #define FWL_WGTSTATE_Maximized (2L << 0) 40 #define FWL_WGTSTATE_Maximized (2L << 0)
44 #define FWL_WGTSTATE_Disabled (1L << 2) 41 #define FWL_WGTSTATE_Disabled (1L << 2)
45 #define FWL_WGTSTATE_Deactivated (1L << 3) 42 #define FWL_WGTSTATE_Deactivated (1L << 3)
46 #define FWL_WGTSTATE_Focused (1L << 4) 43 #define FWL_WGTSTATE_Focused (1L << 4)
47 #define FWL_WGTSTATE_Invisible (1L << 5) 44 #define FWL_WGTSTATE_Invisible (1L << 5)
48 #define FWL_WGTSTATE_MAX (6) 45 #define FWL_WGTSTATE_MAX (6)
49 46
50 #define FWL_VKEY_LButton 0x01 47 #define FWL_VKEY_LButton 0x01
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 #define FWL_VKEY_Exsel 0xF8 211 #define FWL_VKEY_Exsel 0xF8
215 #define FWL_VKEY_Ereof 0xF9 212 #define FWL_VKEY_Ereof 0xF9
216 #define FWL_VKEY_Play 0xFA 213 #define FWL_VKEY_Play 0xFA
217 #define FWL_VKEY_Zoom 0xFB 214 #define FWL_VKEY_Zoom 0xFB
218 #define FWL_VKEY_NoName 0xFC 215 #define FWL_VKEY_NoName 0xFC
219 #define FWL_VKEY_PA1 0xFD 216 #define FWL_VKEY_PA1 0xFD
220 #define FWL_VKEY_OEM_Clear 0xFE 217 #define FWL_VKEY_OEM_Clear 0xFE
221 #define FWL_VKEY_Unknown 0 218 #define FWL_VKEY_Unknown 0
222 219
223 #endif // XFA_FWL_FWL_WIDGETDEF_H_ 220 #endif // XFA_FWL_FWL_WIDGETDEF_H_
OLDNEW
« no previous file with comments | « xfa/fwl/cfwl_sysbtn.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698