| Index: ui/compositor/compositor.h
|
| diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
|
| index c481dc93c8a676bebbf28cdc7185d86606960b9b..fd60f5231ae1baff5655a804533e0b66ac6f6646 100644
|
| --- a/ui/compositor/compositor.h
|
| +++ b/ui/compositor/compositor.h
|
| @@ -253,8 +253,11 @@ class COMPOSITOR_EXPORT Compositor
|
| // Signals swap has aborted (e.g. lost context).
|
| void OnSwapBuffersAborted();
|
|
|
| + // If |interval_is_authoritative| is true, then |interval| is used as the
|
| + // authoritative vsync interval for future calls to OnUpdateVSyncParameters().
|
| void OnUpdateVSyncParameters(base::TimeTicks timebase,
|
| - base::TimeDelta interval);
|
| + base::TimeDelta interval,
|
| + bool interval_is_authoritative);
|
|
|
| // LayerTreeHostClient implementation.
|
| virtual void WillBeginMainFrame(int frame_id) OVERRIDE {}
|
| @@ -325,6 +328,8 @@ class COMPOSITOR_EXPORT Compositor
|
|
|
| bool disable_schedule_composite_;
|
|
|
| + base::TimeDelta authoritative_vsync_interval_;
|
| +
|
| CompositorLock* compositor_lock_;
|
|
|
| // Prevent more than one draw from being scheduled.
|
|
|