| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium 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 #ifndef ScrollEnums_h | 5 #ifndef ScrollEnums_h |
| 6 #define ScrollEnums_h | 6 #define ScrollEnums_h |
| 7 | 7 |
| 8 namespace blink { |
| 9 |
| 8 enum OverlayScrollbarClipBehavior { | 10 enum OverlayScrollbarClipBehavior { |
| 9 IgnoreOverlayScrollbarSize, | 11 IgnoreOverlayScrollbarSize, |
| 10 ExcludeOverlayScrollbarSizeForHitTesting | 12 ExcludeOverlayScrollbarSizeForHitTesting |
| 11 }; | 13 }; |
| 12 | 14 |
| 13 enum ScrollOffsetClamping { | 15 enum ScrollOffsetClamping { |
| 14 ScrollOffsetUnclamped, | 16 ScrollOffsetUnclamped, |
| 15 ScrollOffsetClamped | 17 ScrollOffsetClamped |
| 16 }; | 18 }; |
| 17 | 19 |
| 20 } // namespace blink |
| 21 |
| 18 #endif // ScrollEnums_h | 22 #endif // ScrollEnums_h |
| OLD | NEW |