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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h

Issue 2289833002: Disable clipping on root scroller's ancestors. (Closed)
Patch Set: Undo changes to REF and moved comment Created 4 years, 3 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/page/scrolling/RootScrollerController.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h b/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h
index 065d58378f83030ac41984b17db4ae308517a05d..e02546d1624d578ae8c0876ca40b2d0ae5385208 100644
--- a/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h
+++ b/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h
@@ -13,6 +13,7 @@ namespace blink {
class Document;
class Element;
class GraphicsLayer;
+class PaintLayer;
class ScrollableArea;
class ScrollStateCallback;
@@ -89,6 +90,8 @@ public:
// apply scroll. crbug.com/623079.
virtual bool isViewportScrollCallback(const ScrollStateCallback*) const;
+ PaintLayer* rootScrollerPaintLayer() const;
+
protected:
RootScrollerController(Document&);
@@ -104,6 +107,9 @@ protected:
private:
+ // Sets needsCompositingInputsUpdate on the given layer and all ancestors.
+ void setNeedsCompositingInputsUpdateOnAncestorChain(PaintLayer*);
+
// Ensures the effective root scroller is currently valid and replaces it
// with the default if not.
void recomputeEffectiveRootScroller();

Powered by Google App Engine
This is Rietveld 408576698