Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4763)

Unified Diff: cc/single_thread_proxy.h

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address jamesr@ comments. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/single_thread_proxy.h
diff --git a/cc/single_thread_proxy.h b/cc/single_thread_proxy.h
index 0d005b096a5fa0f69c54f880deb05dae56ba864f..475ded01cd12591717f4f986ae4f271b55ff5375 100644
--- a/cc/single_thread_proxy.h
+++ b/cc/single_thread_proxy.h
@@ -37,6 +37,8 @@ public:
virtual void setNeedsAnimate() OVERRIDE;
virtual void setNeedsCommit() OVERRIDE;
virtual void setNeedsRedraw() OVERRIDE;
+ virtual void setDeferCommits(bool) OVERRIDE;
+ virtual bool deferCommits() const OVERRIDE;
virtual bool commitRequested() const OVERRIDE;
virtual void didAddAnimation() OVERRIDE;
virtual void start() OVERRIDE;
@@ -83,6 +85,8 @@ private:
base::TimeDelta m_totalCommitTime;
size_t m_totalCommitCount;
+
+ bool m_deferCommits;
};
// For use in the single-threaded case. In debug builds, it pretends that the

Powered by Google App Engine
This is Rietveld 408576698