summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_proxy.h
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-31 18:59:50 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-31 18:59:50 +0000
commitdf09e05013d4769c3960c34b6d3b6a468053efa0 (patch)
treeadc81b6a84666038f62e1f1ed554ecd67733b827 /cc/test/fake_proxy.h
parentc58eb58ae55712a9499332b0c8101e73d86d9509 (diff)
downloadchromium_src-df09e05013d4769c3960c34b6d3b6a468053efa0.zip
chromium_src-df09e05013d4769c3960c34b6d3b6a468053efa0.tar.gz
chromium_src-df09e05013d4769c3960c34b6d3b6a468053efa0.tar.bz2
Notify the compositor when input is throttled
If input is prevented from reaching the compositor thread, then the compositor should switch immediately into "new content takes priority" mode rather than waiting 250ms for smoothness to time out. If in the future we ever throttle begin frame (or hold them off indefinitely) when in prefer smoothness mode, this safety check will help us from delays when need a commit before more input will be sent. R=jamesr@chromium.org, nduca@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/19313003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214792 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_proxy.h')
-rw-r--r--cc/test/fake_proxy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/fake_proxy.h b/cc/test/fake_proxy.h
index 8cc3311..b3bca69 100644
--- a/cc/test/fake_proxy.h
+++ b/cc/test/fake_proxy.h
@@ -32,6 +32,7 @@ class FakeProxy : public Proxy {
virtual void SetNeedsUpdateLayers() OVERRIDE {}
virtual void SetNeedsCommit() OVERRIDE {}
virtual void SetNeedsRedraw(gfx::Rect damage_rect) OVERRIDE {}
+ virtual void NotifyInputThrottledUntilCommit() OVERRIDE {}
virtual void SetDeferCommits(bool defer_commits) OVERRIDE {}
virtual void MainThreadHasStoppedFlinging() OVERRIDE {}
virtual bool CommitRequested() const OVERRIDE;