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

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

Issue 15181006: Plumb CompositingReason from Blink to compositor. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed reviewer feedback, keeping the forwarding include 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.h ('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 29127e0125eb527a825f733f302cea116d077c0f..15bf17168f1c462031bcedfd07d0171cfecd27df 100644
--- a/Source/core/rendering/RenderLayerBacking.h
+++ b/Source/core/rendering/RenderLayerBacking.h
@@ -180,7 +180,7 @@ private:
void createPrimaryGraphicsLayer();
void destroyGraphicsLayers();
- PassOwnPtr<GraphicsLayer> createGraphicsLayer(const String&);
+ PassOwnPtr<GraphicsLayer> createGraphicsLayer(const String& name, CompositingReasons);
RenderLayerModelObject* renderer() const { return m_owningLayer->renderer(); }
RenderLayerCompositor* compositor() const { return m_owningLayer->compositor(); }
@@ -233,6 +233,8 @@ private:
void updateBackgroundColor(bool isSimpleContainer);
void updateContentsRect(bool isSimpleContainer);
+ void updateCompositingReasons();
+
bool hasVisibleNonCompositingDescendantLayers() const;
bool shouldClipCompositedBounds() const;
« no previous file with comments | « Source/core/rendering/RenderLayer.h ('k') | Source/core/rendering/RenderLayerBacking.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698