Index: content/public/browser/render_widget_host_view.h |
diff --git a/content/public/browser/render_widget_host_view.h b/content/public/browser/render_widget_host_view.h |
index 5475763b839643fc3c1709d9eeda05c904353893..ff3127b69e5307fec8eed08e388902514aeeb873 100644 |
--- a/content/public/browser/render_widget_host_view.h |
+++ b/content/public/browser/render_widget_host_view.h |
@@ -167,6 +167,11 @@ class CONTENT_EXPORT RenderWidgetHostView { |
virtual void FocusedNodeTouched(const gfx::Point& location_dips_screen, |
bool editable) = 0; |
+ // Informs the view that its associated render widget has frames to draw and |
+ // wants to have BeginFrame messages sent to it. This should only be called |
+ // when the value has changed. Views must initially default to false. |
+ virtual void SetNeedsBeginFrames(bool needs_begin_frames) = 0; |
+ |
#if defined(OS_MACOSX) |
// Return the accelerated widget which hosts the CALayers that draw the |
// content of the view in GetNativeView. This may be null. |