summaryrefslogtreecommitdiffstats
path: root/cc/layer_tree_host.h
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/layer_tree_host.h
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/layer_tree_host.h')
-rw-r--r--cc/layer_tree_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h
index 5c1ce68..dfb4094 100644
--- a/cc/layer_tree_host.h
+++ b/cc/layer_tree_host.h
@@ -86,6 +86,7 @@ public:
void willBeginFrame() { m_client->willBeginFrame(); }
void didBeginFrame() { m_client->didBeginFrame(); }
void updateAnimations(base::TimeTicks monotonicFrameBeginTime);
+ void didStopFlinging();
void layout();
void beginCommitOnImplThread(LayerTreeHostImpl*);
void finishCommitOnImplThread(LayerTreeHostImpl*);