Index: cc/trees/thread_proxy.h |
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h |
index deef5baa45b0d7f53bccce7e5c9f0f180cac3094..2e80c72941cce8645636f537f4fbcea7f9bc81ab 100644 |
--- a/cc/trees/thread_proxy.h |
+++ b/cc/trees/thread_proxy.h |
@@ -49,6 +49,7 @@ class ThreadProxy : public Proxy, |
virtual void CreateAndInitializeOutputSurface() OVERRIDE; |
virtual const RendererCapabilities& GetRendererCapabilities() const OVERRIDE; |
virtual void SetNeedsAnimate() OVERRIDE; |
+ virtual void SetNeedsUpdateLayers() OVERRIDE; |
virtual void SetNeedsCommit() OVERRIDE; |
virtual void SetNeedsRedraw(gfx::Rect damage_rect) OVERRIDE; |
virtual void SetDeferCommits(bool defer_commits) OVERRIDE; |
@@ -136,6 +137,7 @@ class ThreadProxy : public Proxy, |
void OnOutputSurfaceInitializeAttempted( |
bool success, |
const RendererCapabilities& capabilities); |
+ void SendCommitRequestToImplThreadIfNeeded(); |
// Called on impl thread. |
struct ReadbackRequest; |
@@ -147,7 +149,7 @@ class ThreadProxy : public Proxy, |
CompletionEvent* completion, |
ResourceUpdateQueue* queue, |
scoped_refptr<cc::ContextProvider> offscreen_context_provider); |
- void BeginFrameAbortedByMainThreadOnImplThread(); |
+ void BeginFrameAbortedByMainThreadOnImplThread(bool did_handle); |
void RequestReadbackOnImplThread(ReadbackRequest* request); |
void FinishAllRenderingOnImplThread(CompletionEvent* completion); |
void InitializeImplOnImplThread(CompletionEvent* completion); |
@@ -244,6 +246,8 @@ class ThreadProxy : public Proxy, |
bool inside_draw_; |
+ bool can_cancel_commit_; |
+ |
bool defer_commits_; |
scoped_ptr<BeginFrameAndCommitState> pending_deferred_commit_; |