Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 6ec1573b0c93f44426925cdfdec34d4f8433b867..7645d9ff16f3c764756885b2c8fdd018864f9ab9 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -133,6 +133,9 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver { |
void SetDrawsContent(bool draws_content); |
bool DrawsContent() const { return draws_content_; } |
+ void SetHideLayerAndSubtree(bool hide); |
+ bool hide_layer_and_subtree() const { return hide_layer_and_subtree_; } |
+ |
bool force_render_surface() const { return force_render_surface_; } |
void SetForceRenderSurface(bool force) { force_render_surface_ = force; } |
@@ -518,6 +521,7 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver { |
gfx::Transform transform_; |
bool draws_content_; |
+ bool hide_layer_and_subtree_; |
bool force_render_surface_; |
// Set for the layer that other layers are fixed to. |