Chromium Code Reviews| 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..0fe6431160fd2db024498605da196f4bbbfb5a1d 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 OnEnableVSyncNotification(bool enable); |
|
mkosiba (inactive)
2013/03/26 13:51:48
nit: Enable usually means a transition from disabl
Sami
2013/03/26 17:51:35
Agreed, OnSetVSyncNotificationEnabled reads much b
|
| void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
| void OnUpdateIsDelayed(); |
| void OnInputEventAck(WebKit::WebInputEvent::Type event_type, |