Index: cc/trees/layer_tree_host.h |
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h |
index 7aa95ec9924810d8e0bd10bf931bc2526c2b93e1..98b6f77f87cf140d9c41d64a03a5bce4250deef2 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, |
@@ -608,6 +611,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_; |