| 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 | |
| 186 enum ScrollbarMode { kScrollbarAuto, kScrollbarAlwaysOff, kScrollbarAlwaysOn }; | 184 enum ScrollbarMode { kScrollbarAuto, kScrollbarAlwaysOff, kScrollbarAlwaysOn }; |
| 187 | 185 |
| 188 enum ScrollbarControlSize { kRegularScrollbar, kSmallScrollbar }; | 186 enum ScrollbarControlSize { kRegularScrollbar, kSmallScrollbar }; |
| 189 | 187 |
| 190 typedef unsigned ScrollbarControlState; | 188 typedef unsigned ScrollbarControlState; |
| 191 | 189 |
| 192 enum ScrollbarControlStateMask { | 190 enum ScrollbarControlStateMask { |
| 193 kActiveScrollbarState = 1, | 191 kActiveScrollbarState = 1, |
| 194 kEnabledScrollbarState = 1 << 1, | 192 kEnabledScrollbarState = 1 << 1, |
| 195 kPressedScrollbarState = 1 << 2 | 193 kPressedScrollbarState = 1 << 2 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 NOTREACHED(); | 274 NOTREACHED(); |
| 277 return ScrollGranularity::kScrollByPrecisePixel; | 275 return ScrollGranularity::kScrollByPrecisePixel; |
| 278 } | 276 } |
| 279 } | 277 } |
| 280 | 278 |
| 281 typedef unsigned ScrollbarControlPartMask; | 279 typedef unsigned ScrollbarControlPartMask; |
| 282 | 280 |
| 283 } // namespace blink | 281 } // namespace blink |
| 284 | 282 |
| 285 #endif | 283 #endif |
| OLD | NEW |