Index: cc/surfaces/display.h |
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h |
index 235abf166d21c23de599fd299a075c8231a8db69..66fda8931d5d21243febec8c951eef9392ad9f23 100644 |
--- a/cc/surfaces/display.h |
+++ b/cc/surfaces/display.h |
@@ -73,6 +73,7 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient, |
// device_scale_factor is used to communicate to the external window system |
// what scale this was rendered at. |
void SetSurfaceId(const SurfaceId& id, float device_scale_factor); |
+ void SetVisible(bool visible); |
void Resize(const gfx::Size& new_size); |
void SetColorSpace(const gfx::ColorSpace& color_space); |
void SetExternalClip(const gfx::Rect& clip); |
@@ -134,6 +135,7 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient, |
gfx::Size current_surface_size_; |
float device_scale_factor_ = 1.f; |
gfx::ColorSpace device_color_space_; |
+ bool visible_ = false; |
bool swapped_since_resize_ = false; |
gfx::Rect external_clip_; |
gfx::Rect external_viewport_; |