| Index: ui/compositor/compositor.h
|
| diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
|
| index 9bc7f884aa9e8789414749d74dc6235f2896d3ff..b4794bcd72649f6bc7fd063fc199c212b2afb5a3 100644
|
| --- a/ui/compositor/compositor.h
|
| +++ b/ui/compositor/compositor.h
|
| @@ -182,6 +182,9 @@ class COMPOSITOR_EXPORT Compositor
|
| // from changes to layer properties.
|
| void ScheduleRedrawRect(const gfx::Rect& damage_rect);
|
|
|
| + // Finishes all outstanding rendering and disables swapping on this surface.
|
| + void DisableSwap();
|
| +
|
| // Finishes all outstanding rendering and disables swapping on this surface
|
| // until it is resized.
|
| void DisableSwapUntilResize();
|
| @@ -201,6 +204,9 @@ class COMPOSITOR_EXPORT Compositor
|
| // Set the visibility of the underlying compositor.
|
| void SetVisible(bool visible);
|
|
|
| + // Get the visibility of the underlying compositor.
|
| + bool IsVisible();
|
| +
|
| // Returns the widget for this compositor.
|
| gfx::AcceleratedWidget widget() const { return widget_; }
|
|
|
|
|