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

Unified Diff: Source/core/rendering/RenderLayerBacking.h

Issue 15973002: Remove NonCompositedContentHost -- Take 2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: adding back annotation. final rebase. Created 7 years, 7 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
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderLayerBacking.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLayerBacking.h
diff --git a/Source/core/rendering/RenderLayerBacking.h b/Source/core/rendering/RenderLayerBacking.h
index 15bf17168f1c462031bcedfd07d0171cfecd27df..e4efc64407a816e1404402dc5e8df703ba5bf3d7 100644
--- a/Source/core/rendering/RenderLayerBacking.h
+++ b/Source/core/rendering/RenderLayerBacking.h
@@ -72,7 +72,9 @@ public:
void updateGraphicsLayerGeometry(); // make private
// Update contents and clipping structure.
void updateDrawsContent();
-
+ // Update whether layer needs blending.
+ void updateContentsOpaque();
+
GraphicsLayer* graphicsLayer() const { return m_graphicsLayer.get(); }
// Layer to clip children
@@ -100,14 +102,6 @@ public:
GraphicsLayer* parentForSublayers() const;
GraphicsLayer* childForSuperlayers() const;
- // RenderLayers with backing normally short-circuit paintLayer() because
- // their content is rendered via callbacks from GraphicsLayer. However, the document
- // layer is special, because it has a GraphicsLayer to act as a container for the GraphicsLayers
- // for descendants, but its contents usually render into the window (in which case this returns true).
- // This returns false for other layers, and when the document layer actually needs to paint into its backing store
- // for some reason.
- bool paintsIntoWindow() const;
-
// Returns true for a composited layer that has no backing store of its own, so
// paints into some ancestor layer.
bool paintsIntoCompositedAncestor() const { return !m_requiresOwnBackingStore; }
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderLayerBacking.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698