| Index: ui/compositor/compositor.h
|
| diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
|
| index 1cceecc64cf4788fd89733139921d4c79bff4d81..dad49430222c4492ed3e4510e4fe30cc8ebac5aa 100644
|
| --- a/ui/compositor/compositor.h
|
| +++ b/ui/compositor/compositor.h
|
| @@ -139,6 +139,10 @@ class COMPOSITOR_EXPORT ContextFactory {
|
| // Gets the surface manager.
|
| virtual cc::SurfaceManager* GetSurfaceManager() = 0;
|
|
|
| + // Inform the display corresponding to this compositor if it is visible. When
|
| + // false it does not need to produce any frames.
|
| + virtual void SetDisplayVisible(ui::Compositor* compositor, bool visible) = 0;
|
| +
|
| // Resize the display corresponding to this compositor to a particular size.
|
| virtual void ResizeDisplay(ui::Compositor* compositor,
|
| const gfx::Size& size) = 0;
|
|
|