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

Unified Diff: ui/compositor/layer.h

Issue 12093067: Handle ui::Layer's visibility using cc::Layer's m_isDrawable flag (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address review comments Created 7 years, 11 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 | « no previous file | ui/compositor/layer.cc » ('j') | ui/compositor/layer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index b35cf0bdff2df6211a762a2325f6b980c16252a0..efcfcf474144fe1892a952b752160ff3256c56ed 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -341,6 +341,8 @@ class COMPOSITOR_EXPORT Layer
// Set all filters which got applied to the layer background.
void SetLayerBackgroundFilters();
+ void UpdateIsDrawn();
+
const LayerType type_;
Compositor* compositor_;
@@ -358,6 +360,7 @@ class COMPOSITOR_EXPORT Layer
// Visibility of this layer. See SetVisible/IsDrawn for more details.
bool visible_;
+ bool is_drawn_;
piman 2013/02/01 18:06:55 nit: can you just add comment that explains that t
ajuma 2013/02/01 18:40:24 Done.
bool force_render_surface_;
« no previous file with comments | « no previous file | ui/compositor/layer.cc » ('j') | ui/compositor/layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698