OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Computer, 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 }; | 174 }; |
175 | 175 |
176 enum ScrollInertialPhase { | 176 enum ScrollInertialPhase { |
177 kScrollInertialPhaseUnknown, | 177 kScrollInertialPhaseUnknown, |
178 kScrollInertialPhaseNonMomentum, | 178 kScrollInertialPhaseNonMomentum, |
179 kScrollInertialPhaseMomentum | 179 kScrollInertialPhaseMomentum |
180 }; | 180 }; |
181 | 181 |
182 enum ScrollbarOrientation { kHorizontalScrollbar, kVerticalScrollbar }; | 182 enum ScrollbarOrientation { kHorizontalScrollbar, kVerticalScrollbar }; |
183 | 183 |
| 184 enum ScrollOrientation { kHorizontalScroll, kVerticalScroll }; |
| 185 |
184 enum ScrollbarMode { kScrollbarAuto, kScrollbarAlwaysOff, kScrollbarAlwaysOn }; | 186 enum ScrollbarMode { kScrollbarAuto, kScrollbarAlwaysOff, kScrollbarAlwaysOn }; |
185 | 187 |
186 enum ScrollbarControlSize { kRegularScrollbar, kSmallScrollbar }; | 188 enum ScrollbarControlSize { kRegularScrollbar, kSmallScrollbar }; |
187 | 189 |
188 typedef unsigned ScrollbarControlState; | 190 typedef unsigned ScrollbarControlState; |
189 | 191 |
190 enum ScrollbarControlStateMask { | 192 enum ScrollbarControlStateMask { |
191 kActiveScrollbarState = 1, | 193 kActiveScrollbarState = 1, |
192 kEnabledScrollbarState = 1 << 1, | 194 kEnabledScrollbarState = 1 << 1, |
193 kPressedScrollbarState = 1 << 2 | 195 kPressedScrollbarState = 1 << 2 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 NOTREACHED(); | 276 NOTREACHED(); |
275 return ScrollGranularity::kScrollByPrecisePixel; | 277 return ScrollGranularity::kScrollByPrecisePixel; |
276 } | 278 } |
277 } | 279 } |
278 | 280 |
279 typedef unsigned ScrollbarControlPartMask; | 281 typedef unsigned ScrollbarControlPartMask; |
280 | 282 |
281 } // namespace blink | 283 } // namespace blink |
282 | 284 |
283 #endif | 285 #endif |
OLD | NEW |