summaryrefslogtreecommitdiffstats
path: root/cc/test
diff options
context:
space:
mode:
authoryusufo@chromium.org <yusufo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-17 18:23:55 +0000
committeryusufo@chromium.org <yusufo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-17 18:23:55 +0000
commit9b2c7efc81f639c201df203ad0ce5373bff0e095 (patch)
tree8ad9f3b814c4778bc7e43f11933c26ac23cf7959 /cc/test
parentc1626d9dca299ec837949f9d10b952c91f40e1e3 (diff)
downloadchromium_src-9b2c7efc81f639c201df203ad0ce5373bff0e095.zip
chromium_src-9b2c7efc81f639c201df203ad0ce5373bff0e095.tar.gz
chromium_src-9b2c7efc81f639c201df203ad0ce5373bff0e095.tar.bz2
Add API to route end of fling messages from WebLayerTreeView to InputHandler
This API will be used by WebViewImpl to send end of fling messages to the compositor. Then the compositor will only send flingCancels if there is a main thread fling. This flingCancels when unnecessarily sent are causing a lot of input lag when main thread is blocked. BUG=162767 Review URL: https://chromiumcodereview.appspot.com/11565022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173492 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test')
-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 303d2dc..280c1a4 100644
--- a/cc/test/fake_proxy.h
+++ b/cc/test/fake_proxy.h
@@ -31,6 +31,7 @@ public:
virtual void setNeedsRedraw() OVERRIDE { }
virtual void setDeferCommits(bool) OVERRIDE { }
virtual void didAddAnimation() OVERRIDE { }
+ virtual void mainThreadHasStoppedFlinging() OVERRIDE { }
virtual bool commitRequested() const OVERRIDE;
virtual void start() OVERRIDE { }
virtual void stop() OVERRIDE { }