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

Unified Diff: Source/core/frame/FrameView.cpp

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.h ('k') | Source/core/frame/RootFrameViewport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index df2856fd1ab8fbcf96ace8e7ff2f9c7ed0862036..a5991c617e53526b6680d0eb7d31ac7b598f247f 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -3268,14 +3268,6 @@ void FrameView::setScrollOffset(const DoublePoint& offset)
scrollTo(adjustScrollPositionWithinRange(offset));
}
-bool FrameView::scroll(ScrollDirection direction, ScrollGranularity granularity, float delta)
-{
- ScrollDirection physicalDirection =
- toPhysicalDirection(direction, isVerticalDocument(), isFlippedDocument());
-
- return ScrollableArea::scroll(physicalDirection, granularity, delta);
-}
-
void FrameView::windowResizerRectChanged()
{
updateScrollbars(scrollOffsetDouble());
« no previous file with comments | « Source/core/frame/FrameView.h ('k') | Source/core/frame/RootFrameViewport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698