| Index: cc/layers/layer.h
|
| diff --git a/cc/layers/layer.h b/cc/layers/layer.h
|
| index 4debc46d83335be4ba9f89de9bae9ffe42d59afc..bcc7a4562814ab4c0c7482db90a5a01cc4408d4d 100644
|
| --- a/cc/layers/layer.h
|
| +++ b/cc/layers/layer.h
|
| @@ -387,6 +387,10 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
|
| return should_flatten_transform_from_property_tree_;
|
| }
|
|
|
| + void SetIsHidden(bool is_hidden);
|
| +
|
| + bool is_hidden() const { return is_hidden_; }
|
| +
|
| const gfx::Rect& visible_layer_rect_for_testing() const {
|
| return visible_layer_rect_;
|
| }
|
| @@ -620,6 +624,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
|
| gfx::Vector2dF offset_to_transform_parent_;
|
| bool should_flatten_transform_from_property_tree_ : 1;
|
| bool draws_content_ : 1;
|
| + bool is_hidden_ : 1;
|
| bool use_local_transform_for_backface_visibility_ : 1;
|
| bool should_check_backface_visibility_ : 1;
|
| bool force_render_surface_for_testing_ : 1;
|
|
|