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 2f46068b22f99ac086c60e01a45325f3e83ceda2..fe01130943d8ee0188fd153520392407600443fa 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -48,6 +48,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 OnCanDrawStateChanged(bool can_draw) = 0; |
virtual void OnHasPendingTreeStateChanged(bool has_pending_tree) = 0; |
virtual void SetNeedsRedrawOnImplThread() = 0; |
@@ -173,6 +174,7 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandlerClient, |
// OutputSurfaceClient implementation. |
virtual void OnVSyncParametersChanged(base::TimeTicks timebase, |
base::TimeDelta interval) OVERRIDE; |
+ virtual void DidVSync(base::TimeTicks frame_time) OVERRIDE; |
virtual void OnSendFrameToParentCompositorAck(const CompositorFrameAck& ack) |
OVERRIDE; |
@@ -196,6 +198,7 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandlerClient, |
const RendererCapabilities& GetRendererCapabilities() const; |
virtual bool SwapBuffers(); |
+ void EnableVSyncNotification(bool enable); |
void Readback(void* pixels, gfx::Rect rect_in_device_viewport); |