| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WebMainThreadScrollingReason_h | |
| 6 #define WebMainThreadScrollingReason_h | |
| 7 | |
| 8 #include "WebCommon.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 // Ensure this stays in sync with cc::MainThreadScrollingReason. | |
| 13 namespace WebMainThreadScrollingReason { | |
| 14 enum WebMainThreadScrollingReason { | |
| 15 NotScrollingOnMain = 0, | |
| 16 HasBackgroundAttachmentFixedObjects = 1 << 0, | |
| 17 HasNonLayerViewportConstrainedObjects = 1 << 1, | |
| 18 ThreadedScrollingDisabled = 1 << 2, | |
| 19 ScrollBarScrolling = 1 << 3, | |
| 20 PageOverlay = 1 << 4 | |
| 21 }; | |
| 22 } // namespace MainThreadScrollingReason | |
| 23 | |
| 24 } // namespace blink | |
| 25 | |
| 26 #endif | |
| OLD | NEW |