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

Unified Diff: cc/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/proxy.h
diff --git a/cc/proxy.h b/cc/proxy.h
index daddadeeb10ed45e697faa59f50b8cc283dccd5d..0f8dca1650ebb7c591f343a1eff3e89cb1132e61 100644
--- a/cc/proxy.h
+++ b/cc/proxy.h
@@ -65,6 +65,11 @@ public:
virtual void setNeedsCommit() = 0;
virtual void setNeedsRedraw() = 0;
+ // Defers commits until it is reset. Certain actions may forcibly allow commits to go through (we post
+ // a task with a reset in the common case). So it is important that we always be in a comittable state.
jamesr 2012/10/23 21:24:34 not sure what exactly this comment is referring to
jonathan.backer 2012/10/24 16:42:14 Based on some of your earlier comments, it is an e
+ virtual void setDeferCommits(bool) = 0;
+ virtual bool deferCommits() const = 0;
+
virtual void didAddAnimation() = 0;
virtual bool commitRequested() const = 0;

Powered by Google App Engine
This is Rietveld 408576698