| Index: content/browser/renderer_host/render_widget_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
|
| index 673f29f9eb398b35a9d0dd4192e4bce783215b17..2af650dd15ada922e11212ea24f27a3958e6348b 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.h
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.h
|
| @@ -152,6 +152,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
|
| // having been hidden.
|
| void WasHidden();
|
| void WasRestored();
|
| + bool IsVisible() const { return !is_hidden_; }
|
|
|
| // Called to notify the RenderWidget that its associated native window got
|
| // focused.
|
| @@ -356,6 +357,13 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
|
| static void AcknowledgeSwapBuffers(int32 route_id, int gpu_host_id);
|
| static void AcknowledgePostSubBuffer(int32 route_id, int gpu_host_id);
|
|
|
| +#if defined(USE_AURA)
|
| + // Called by the view in response to AcceleratedSurfaceSuggestDiscard.
|
| + static void SendSurfaceDiscard(uint64 surface_id,
|
| + int32 route_id,
|
| + int gpu_host_id);
|
| +#endif
|
| +
|
| // Signals that the compositing surface was updated, e.g. after a lost context
|
| // event.
|
| void CompositingSurfaceUpdated();
|
|
|