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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.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/CompositedLayerMapping.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
index ae1134ecc2db9086d16c65900c679785c268f494..e0db97be1d3cac955423d0645e7305f5b1b02acc 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
@@ -338,6 +338,12 @@ private:
// not appear earlier in the set of layers for this object.
bool invalidateLayerIfNoPrecedingEntry(size_t);
+ // Disables clipping on layers that are ancestors of the root scroller. This allows the
+ // root scroller to expand and shrink its clipping layer in response to top controls
+ // movement and have it be visible to the user even if there's other masking layers above
+ // it in the hierarchy.
+ void setClippingOnRootScrollerAncestors();
chrishtr 2016/09/01 23:42:56 Name it disableClippingOnRootScrollerAncestors ins
bokan 2016/09/09 00:19:02 This method is gone now.
+
PaintLayer& m_owningLayer;
// The hierarchy of layers that is maintained by the CompositedLayerMapping looks like this:

Powered by Google App Engine
This is Rietveld 408576698