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

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

Issue 2289833002: Disable clipping on root scroller's ancestors. (Closed)
Patch Set: Also setNeedsCompositingUpdate from TopDocumentRootScrollerController 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/TopDocumentRootScrollerController.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h
index 2c581383feb436ac216367a2433e6cf9b506fdd2..40273c5b331703a8b31090ccc5b89cf1caf10c93 100644
--- a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h
+++ b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h
@@ -53,6 +53,9 @@ public:
// Returns the GraphicsLayer for the global root scroller.
GraphicsLayer* rootScrollerLayer() override;
+ // Returns the Element that's the global root scroller.
+ Element* globalRootScroller() const;
+
protected:
TopDocumentRootScrollerController(Document&);
@@ -70,6 +73,8 @@ private:
// appropriate state changes are made if it changes.
void updateGlobalRootScroller();
+ void setNeedsCompositingInputsUpdateOnGlobalRootScroller();
+
// The apply-scroll callback that moves top controls and produces
// overscroll effects. This class makes sure this callback is set on the
// appropriate root scroller element.

Powered by Google App Engine
This is Rietveld 408576698