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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollableArea.h

Issue 1496693005: Update RootFrameViewport::userScroll to distribute scrolls between viewports. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test expectation Created 5 years 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
Index: third_party/WebKit/Source/platform/scroll/ScrollableArea.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
index d643a1a87451842f0d6bd3a69075080dc07a77f7..20e99897d033df3f2e9ac3aa0a17e123139df90b 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
@@ -244,7 +244,7 @@ public:
void layerForScrollingDidChange(WebCompositorAnimationTimeline*);
void cancelScrollAnimation();
- void cancelProgrammaticScrollAnimation();
+ virtual void cancelProgrammaticScrollAnimation();
virtual ~ScrollableArea();
@@ -280,6 +280,9 @@ public:
protected:
ScrollableArea();
+ ScrollbarOrientation scrollbarOrientationFromDirection(ScrollDirectionPhysical) const;
+ float scrollStep(ScrollGranularity, ScrollbarOrientation) const;
+
void setScrollOrigin(const IntPoint&);
void resetScrollOriginChanged() { m_scrollOriginChanged = false; }

Powered by Google App Engine
This is Rietveld 408576698