Index: cc/trees/thread_proxy.h |
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h |
index 08b5999a42045f9529d19adffcdd405a207fcfd6..212cb73a003ad99796955467ef89db5be1b763f7 100644 |
--- a/cc/trees/thread_proxy.h |
+++ b/cc/trees/thread_proxy.h |
@@ -69,6 +69,7 @@ class ThreadProxy : public Proxy, |
virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; |
virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE; |
virtual void BeginFrameOnImplThread(const BeginFrameArgs& args) OVERRIDE; |
+ virtual void DidBeginFrameDeadlineOnImplThread() OVERRIDE; |
virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE; |
virtual void NotifyReadyToActivate() OVERRIDE; |
virtual void SetNeedsRedrawOnImplThread() OVERRIDE; |
@@ -105,6 +106,8 @@ class ThreadProxy : public Proxy, |
virtual base::TimeDelta DrawDurationEstimate() OVERRIDE; |
virtual base::TimeDelta BeginFrameToCommitDurationEstimate() OVERRIDE; |
virtual base::TimeDelta CommitToActivateDurationEstimate() OVERRIDE; |
+ virtual void PostBeginFrameDeadline(const base::Closure& closure, |
+ base::TimeTicks deadline) OVERRIDE; |
// ResourceUpdateControllerClient implementation |
virtual void ReadyToFinalizeTextureUpdates() OVERRIDE; |
@@ -215,6 +218,7 @@ class ThreadProxy : public Proxy, |
scoped_ptr<LayerTreeHostImpl> layer_tree_host_impl_; |
scoped_ptr<Scheduler> scheduler_on_impl_thread_; |
+ bool frame_did_draw_; |
// Set when the main thread is waiting on a |
// ScheduledActionSendBeginFrameToMainThread to be issued. |