Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index c1f6eff9fe2ddfa9f390b5cbdeb89862cab52a9a..3f2cae22b5670882ef150d0f3f6b537a255c28d3 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -134,6 +134,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; } |
@@ -513,6 +516,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. |