OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 26 matching lines...) Expand all Loading... |
37 ReadOnlyControlState = 1 << 5, | 37 ReadOnlyControlState = 1 << 5, |
38 WindowInactiveControlState = 1 << 7, | 38 WindowInactiveControlState = 1 << 7, |
39 IndeterminateControlState = 1 << 8, | 39 IndeterminateControlState = 1 << 8, |
40 SpinUpControlState = | 40 SpinUpControlState = |
41 1 << 9, // Sub-state for HoverControlState and PressedControlState. | 41 1 << 9, // Sub-state for HoverControlState and PressedControlState. |
42 AllControlStates = 0xffffffff | 42 AllControlStates = 0xffffffff |
43 }; | 43 }; |
44 | 44 |
45 typedef unsigned ControlStates; | 45 typedef unsigned ControlStates; |
46 | 46 |
47 // Must follow CSSValueKeywords.in order | |
48 enum ControlPart { | 47 enum ControlPart { |
49 NoControlPart, | 48 NoControlPart, |
50 CheckboxPart, | 49 CheckboxPart, |
51 RadioPart, | 50 RadioPart, |
52 PushButtonPart, | 51 PushButtonPart, |
53 SquareButtonPart, | 52 SquareButtonPart, |
54 ButtonPart, | 53 ButtonPart, |
55 ButtonBevelPart, | 54 ButtonBevelPart, |
56 InnerSpinButtonPart, | 55 InnerSpinButtonPart, |
57 ListboxPart, | 56 ListboxPart, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 WindowTextColor, | 143 WindowTextColor, |
145 FocusRingColor, | 144 FocusRingColor, |
146 ActiveListBoxSelection, | 145 ActiveListBoxSelection, |
147 ActiveListBoxSelectionText, | 146 ActiveListBoxSelectionText, |
148 InactiveListBoxSelection, | 147 InactiveListBoxSelection, |
149 InactiveListBoxSelectionText | 148 InactiveListBoxSelectionText |
150 }; | 149 }; |
151 | 150 |
152 } // namespace blink | 151 } // namespace blink |
153 #endif | 152 #endif |
OLD | NEW |