| Index: cc/trees/layer_tree_host_impl.h
|
| diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
|
| index 5125c828aeed4b31a545440a6369ca84b1599e03..a380a1bcbe43044c024c122e6d79edd17e30b0c8 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -54,7 +54,7 @@ class LayerTreeHostImplClient {
|
| virtual void OnSwapBuffersCompleteOnImplThread() = 0;
|
| virtual void OnVSyncParametersChanged(base::TimeTicks timebase,
|
| base::TimeDelta interval) = 0;
|
| - virtual void DidVSync(base::TimeTicks frame_time) = 0;
|
| + virtual void DidBeginImplFrame(base::TimeTicks frame_time) = 0;
|
| virtual void OnCanDrawStateChanged(bool can_draw) = 0;
|
| virtual void OnHasPendingTreeStateChanged(bool has_pending_tree) = 0;
|
| virtual void SetNeedsRedrawOnImplThread() = 0;
|
| @@ -74,7 +74,8 @@ class LayerTreeHostImplClient {
|
| virtual bool IsInsideDraw() = 0;
|
| virtual void RenewTreePriority() = 0;
|
| virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay) = 0;
|
| - virtual void DidReceiveLastInputEventForVSync(base::TimeTicks frame_time) = 0;
|
| + virtual void DidReceiveLastInputEventForBeginImplFrame(
|
| + base::TimeTicks frame_time) = 0;
|
| virtual void DidActivatePendingTree() = 0;
|
|
|
| protected:
|
| @@ -122,7 +123,7 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandler,
|
| base::TimeDelta duration) OVERRIDE;
|
| virtual void ScheduleAnimation() OVERRIDE;
|
| virtual bool HaveTouchEventHandlersAt(gfx::Point viewport_port) OVERRIDE;
|
| - virtual void DidReceiveLastInputEventForVSync(
|
| + virtual void DidReceiveLastInputEventForBeginImplFrame(
|
| base::TimeTicks frame_time) OVERRIDE;
|
|
|
| // TopControlsManagerClient implementation.
|
| @@ -200,7 +201,7 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandler,
|
| virtual void SetNeedsRedrawRect(gfx::Rect rect) OVERRIDE;
|
| virtual void OnVSyncParametersChanged(base::TimeTicks timebase,
|
| base::TimeDelta interval) OVERRIDE;
|
| - virtual void DidVSync(base::TimeTicks frame_time) OVERRIDE;
|
| + virtual void BeginImplFrame(base::TimeTicks frame_time) OVERRIDE;
|
| virtual void OnSendFrameToParentCompositorAck(const CompositorFrameAck& ack)
|
| OVERRIDE;
|
|
|
| @@ -224,7 +225,7 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandler,
|
| const RendererCapabilities& GetRendererCapabilities() const;
|
|
|
| virtual bool SwapBuffers(const FrameData& frame);
|
| - void EnableVSyncNotification(bool enable);
|
| + void SetNeedsBeginImplFrame(bool enable);
|
|
|
| void Readback(void* pixels, gfx::Rect rect_in_device_viewport);
|
|
|
|
|