summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_host_impl.h
diff options
context:
space:
mode:
authortdresser <tdresser@chromium.org>2016-01-18 15:21:22 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-18 23:22:21 +0000
commit81e84c67c444571b63a2d3992af61561e9935230 (patch)
treed91fb9064d73fa8b8694b730b996bcd1b580b294 /cc/trees/layer_tree_host_impl.h
parent14a140b3b802c95a0f685420df0055334ebbacc6 (diff)
downloadchromium_src-81e84c67c444571b63a2d3992af61561e9935230.zip
chromium_src-81e84c67c444571b63a2d3992af61561e9935230.tar.gz
chromium_src-81e84c67c444571b63a2d3992af61561e9935230.tar.bz2
Add histogram attributing cause of main thread scrolling.
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel BUG=569077 Review URL: https://codereview.chromium.org/1484913002 Cr-Commit-Position: refs/heads/master@{#370057}
Diffstat (limited to 'cc/trees/layer_tree_host_impl.h')
-rw-r--r--cc/trees/layer_tree_host_impl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index 6d78c16..1e0f7f6 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -683,7 +683,9 @@ class CC_EXPORT LayerTreeHostImpl
InputHandler::ScrollInputType type,
LayerImpl* layer_hit_by_point,
bool* scroll_on_main_thread,
- bool* optional_has_ancestor_scroll_handler) const;
+ bool* optional_has_ancestor_scroll_handler,
+ InputHandler::MainThreadScrollingReason* main_thread_scrolling_reason)
+ const;
float DeviceSpaceDistanceToLayer(const gfx::PointF& device_viewport_point,
LayerImpl* layer_impl);
void StartScrollbarFadeRecursive(LayerImpl* layer);