Chromium Code Reviews| 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_H_ | |
|
pdr.
2017/04/19 21:03:50
Nit: scroller_size_metrics.h?
yigu
2017/04/20 18:14:22
Done.
| |
| 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 constexpr int kMaxScrollerSize = 200000; // Approximately 400px * 500px | |
|
pdr.
2017/04/19 21:03:50
I don't understand what this constant is for. Why
yigu
2017/04/19 21:10:05
We are about to use the metrics and other stuff to
pdr.
2017/04/19 21:13:47
Can you add that as a comment above the constant?
flackr
2017/04/20 07:15:01
Also max scroller size sounds a bit misleading. Ma
yigu
2017/04/20 18:14:22
Done.
| |
| 12 static constexpr int kScrollerSizeBucketCount = 50; | |
| 13 | |
| 14 } // namespace cc | |
| 15 | |
| 16 #endif // CC_INPUT_SCROLLER_SIZE_H_ | |
| OLD | NEW |