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

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: Use the existing m_isDrawable flag 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..bf361e13963378b236e81cca4c41eb8b49850eb6 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 OnParentIsDrawnChanged(bool parent_is_drawn, bool force_update);
+
const LayerType type_;
Compositor* compositor_;
« 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