Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4875)

Unified Diff: cc/trees/layer_tree_host_common.h

Issue 2737653004: UMA metrics for use count of wheel and touch scrolls. (Closed)
Patch Set: boolean flags used instead of fieldbit Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/trees/layer_tree_host_common.h
diff --git a/cc/trees/layer_tree_host_common.h b/cc/trees/layer_tree_host_common.h
index de96d955c5a06644c7efa1ad7e676fb0b0b56fb5..8dece95c5728e5d637f75ff6ac10b0fa9ccd7395 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -177,6 +177,8 @@ struct CC_EXPORT ScrollAndScaleSet {
float top_controls_delta;
std::vector<LayerTreeHostCommon::ScrollbarsUpdateInfo> scrollbars;
std::vector<std::unique_ptr<SwapPromise>> swap_promises;
+ bool has_scrolled_by_wheel;
danakj 2017/03/16 15:19:21 where do these get init to false?
sahel 2017/03/17 21:02:34 Done.
+ bool has_scrolled_by_touch;
private:
DISALLOW_COPY_AND_ASSIGN(ScrollAndScaleSet);

Powered by Google App Engine
This is Rietveld 408576698