Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(859)

Unified Diff: Source/core/frame/RootFrameViewport.h

Issue 1147283002: Add ScrollDirectionPhysical enum in Scroll types. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed a conflict on EventHandler Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/frame/RootFrameViewport.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/RootFrameViewport.h
diff --git a/Source/core/frame/RootFrameViewport.h b/Source/core/frame/RootFrameViewport.h
index 116128b0c5801f061c541787b6f4d5c7b3ba36b9..55cbc179ffaf2003f279d3611084b399cd47478a 100644
--- a/Source/core/frame/RootFrameViewport.h
+++ b/Source/core/frame/RootFrameViewport.h
@@ -59,7 +59,7 @@ public:
GraphicsLayer* layerForScrolling() const override;
GraphicsLayer* layerForHorizontalScrollbar() const override;
GraphicsLayer* layerForVerticalScrollbar() const override;
- bool scroll(ScrollDirection, ScrollGranularity, float delta = 1) override;
+ bool scroll(ScrollDirectionPhysical, ScrollGranularity, float delta = 1) override;
// TODO(bokan): This method should be removed. It should be replaced by
// making EventHandler::handleWheelEvent unpack the WheelEvent and make a
// call to this class' scroll method.
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/frame/RootFrameViewport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698