| Index: cc/surfaces/display.h
|
| diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
|
| index 0fc2fb0a7484bf5f6a4853c93ef61022cb655521..239d3b236c53c1047c5471d4d14ac129d45913c1 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);
|
| @@ -132,6 +133,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_;
|
|
|