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

Side by Side Diff: cc/input/scroller_size.h

Issue 2773893003: Record size of scroller that user scrolls (Closed)
Patch Set: Add scrollEnd event after scrollBegin in test Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CC_INPUT_SCROLLER_SIZE_H_
6 #define CC_INPUT_SCROLLER_SIZE_H_
7
8 namespace cc {
9
10 // Use the two constants to add scroller size related UMA metrics.
11 static const int kMaxScrollerSize = 200000; // 400px * 500px
flackr 2017/04/12 15:31:04 nit: Approximately 400px * 500px
yigu 2017/04/13 19:11:41 Done.
bokan 2017/04/18 19:24:38 Eh...why "approximately" and not "exactly"?
flackr 2017/04/19 00:05:49 Oh I was just thinking because it's an area? It co
12 static const int kBucketNum = 50;
13
14 } // namespace cc
15
16 #endif // CC_INPUT_SCROLLER_SIZE_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698