Index: cc/trees/layer_tree_host.h |
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h |
index dab33a85246b48d96f8dcfa7ec74c73373d126f7..0661fcbed888d2164735e2763a642a0b12fc1a82 100644 |
--- a/cc/trees/layer_tree_host.h |
+++ b/cc/trees/layer_tree_host.h |
@@ -308,6 +308,9 @@ class CC_EXPORT LayerTreeHost : public NON_EXPORTED_BASE(SurfaceReferenceOwner), |
return has_transparent_background_; |
} |
+ void set_is_fullscreen(bool is_fullscreen) { is_fullscreen_ = is_fullscreen; } |
+ bool is_fullscreen() const { return is_fullscreen_; } |
+ |
void StartPageScaleAnimation(const gfx::Vector2d& target_offset, |
bool use_anchor, |
float scale, |
@@ -606,6 +609,8 @@ class CC_EXPORT LayerTreeHost : public NON_EXPORTED_BASE(SurfaceReferenceOwner), |
SkColor background_color_ = SK_ColorWHITE; |
bool has_transparent_background_ = false; |
+ bool is_fullscreen_ = false; |
+ |
LayerSelection selection_; |
gfx::Size device_viewport_size_; |