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 e81bc5d33226ef64f8a05145bf8840b26825aec6..3cf42ffa16887e1a2ad315727b1254bc85e47753 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -398,6 +398,10 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
virtual void UpdateVSyncParameters(base::TimeTicks timebase, |
base::TimeDelta interval); |
+ // Notifies the RenderWidget that the display vsync signal was triggered and |
+ // now is a good time to render a new frame. |
+ virtual void SendVSync(base::TimeTicks frame_time); |
+ |
// Called by the view in response to AcceleratedSurfaceBuffersSwapped or |
// AcceleratedSurfacePostSubBuffer. |
static void AcknowledgeBufferPresent( |
@@ -577,6 +581,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
const gfx::Size& size, |
int32 gpu_process_host_id); |
bool OnSwapCompositorFrame(const IPC::Message& message); |
+ void OnSetVSyncNotificationEnabled(bool enabled); |
void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
void OnUpdateIsDelayed(); |
void OnInputEventAck(WebKit::WebInputEvent::Type event_type, |