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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h

Issue 2289833002: Disable clipping on root scroller's ancestors. (Closed)
Patch Set: Created 4 years, 4 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/compositing/PaintLayerCompositor.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
index fbe3af31fe120941880ea97fa1b543c2c864fc25..16f3ec2e106406975e93120a4ad0e513de3c93f1 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
@@ -133,6 +133,12 @@ public:
void updateRootLayerAttachment();
void updateRootLayerPosition();
+ // If the root scroller isn't the root layer then the PaintLayerCompositor
+ // must disable clipping on its layers so that the root scroller can
+ // expand/shrink its clipping layer in response to top controls and have
+ // the result be visible.
+ void setClippingOnRootScrollerAncestors();
chrishtr 2016/09/01 23:42:57 Name it disableClippingOnRootScrollerAncestors ins
bokan 2016/09/09 00:19:02 It can be used to enable clipping as well if the r
chrishtr 2016/09/09 18:21:15 Masking and clipping are kind of the same thing. M
+
void setIsInWindow(bool);
static PaintLayerCompositor* frameContentsCompositor(LayoutPart*);

Powered by Google App Engine
This is Rietveld 408576698