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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.h

Issue 1752043002: Merged FrameView and LayoutBox scrolling in EventHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@invertScrollCustomizationPath
Patch Set: Fixes for layout tests breaks Created 4 years, 9 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
Index: third_party/WebKit/Source/core/layout/LayoutView.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.h b/third_party/WebKit/Source/core/layout/LayoutView.h
index d243fa5bba1398cebccf5186ec052bf073b91441..256cc0076ce324b52a2f453c8965d04bbd69e685 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.h
+++ b/third_party/WebKit/Source/core/layout/LayoutView.h
@@ -210,6 +210,10 @@ public:
// have changed. visibleRect is the clipping boundary.
void sendMediaPositionChangeNotifications(const IntRect& visibleRect);
+ // The rootLayerScrolls setting will ultimately determine whether FrameView
+ // or PaintLayerScrollableArea handle the scroll.
+ ScrollResult scroll(ScrollGranularity, const FloatSize&) override;
+
private:
void mapLocalToAncestor(const LayoutBoxModelObject* ancestor, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = nullptr, const PaintInvalidationState* = nullptr) const override;

Powered by Google App Engine
This is Rietveld 408576698