OLD | NEW |
---|---|
(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_METRICS_H_ | |
6 #define CC_INPUT_SCROLLER_SIZE_METRICS_H_ | |
7 | |
8 namespace cc { | |
9 | |
10 // Use the two constants to add scroller size related UMA metrics. | |
11 // The goal of the metrics is to find the frequency of scrollers of | |
12 // different sizes that get scrolled. This experiment is aiming at small | |
13 // scrollers therefore the big ones, e.g. larger than 400px * 500px, will get | |
14 // capped into one bucket. | |
15 static constexpr int kScrollerSizeLargestBucket = | |
16 200000; // Approximately 400px * 500px, 250px * 800px, etc. | |
flackr
2017/04/21 00:56:35
nit: You can remove this comment since the one abo
yigu
2017/04/21 12:20:33
Done.
| |
17 static constexpr int kScrollerSizeBucketCount = 50; | |
18 | |
19 } // namespace cc | |
20 | |
21 #endif // CC_INPUT_SCROLLER_SIZE_METRICS_H_ | |
OLD | NEW |