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 f1eebcbf840c67884088cc9e66b503648894c756..3cd60f932507fd4af88c197700cc3e7c2a2905c8 100644 |
| --- a/content/browser/renderer_host/render_widget_host_impl.h |
| +++ b/content/browser/renderer_host/render_widget_host_impl.h |
| @@ -358,6 +358,13 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
| // locked. |
| bool GotResponseToLockMouseRequest(bool allowed); |
| + // Tells the RenderWidget about the latest vsync parameters. |
| + // Note: Make sure the timebase was obtained using |
| + // base::TimeTicks::HighResNow. Using the non-high res timer will result in |
| + // incorrect synchronization across processes. |
| + virtual void UpdateVSyncParameters(base::TimeTicks timebase, |
| + base::TimeDelta interval); |
|
jbates
2012/08/08 16:55:09
TimeDelta is OK for now since we are in a rush, bu
|
| + |
| // Called by the view in response to AcceleratedSurfaceBuffersSwapped or |
| // AcceleratedSurfacePostSubBuffer. |
| static void AcknowledgeBufferPresent( |