diff options
Diffstat (limited to 'third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h')
-rw-r--r-- | third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h index 2b55d1f..fd48d40 100644 --- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h +++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h @@ -31,6 +31,7 @@ #include "platform/PlatformWheelEvent.h" #include "platform/geometry/IntRect.h" #include "platform/scroll/ScrollTypes.h" +#include "public/platform/WebMainThreadScrollingReason.h" #include "wtf/Noncopyable.h" #include "wtf/text/WTFString.h" @@ -95,12 +96,6 @@ public: void handleWheelEventPhase(PlatformWheelEventPhase); #endif - enum MainThreadScrollingReasonFlags { - HasBackgroundAttachmentFixedObjects = 1 << 0, - HasNonLayerViewportConstrainedObjects = 1 << 1, - ThreadedScrollingDisabled = 1 << 2 - }; - MainThreadScrollingReasons mainThreadScrollingReasons() const; bool shouldUpdateScrollLayerPositionOnMainThread() const { return mainThreadScrollingReasons() != 0; } |