Index: cc/layers/layer.h |
diff --git a/cc/layers/layer.h b/cc/layers/layer.h |
index 91972b35204d701e4278fdf1a0fa0e1d8ff0319e..7fc53b3dcd40845a3eb007941aa4142e4afbd839 100644 |
--- a/cc/layers/layer.h |
+++ b/cc/layers/layer.h |
@@ -268,6 +268,9 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>, |
void SetIsDrawable(bool is_drawable); |
+ void SetHideLayerAndSubtree(bool hide); |
+ bool hide_layer_and_subtree() const { return hide_layer_and_subtree_; } |
+ |
void SetReplicaLayer(Layer* layer); |
Layer* replica_layer() { return replica_layer_.get(); } |
const Layer* replica_layer() const { return replica_layer_.get(); } |
@@ -465,6 +468,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>, |
bool is_container_for_fixed_position_layers_; |
LayerPositionConstraint position_constraint_; |
bool is_drawable_; |
+ bool hide_layer_and_subtree_; |
bool masks_to_bounds_; |
bool contents_opaque_; |
bool double_sided_; |