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*); |