Chromium Code Reviews| 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; |