Chromium Code Reviews| Index: tools/metrics/histograms/histograms.xml |
| diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
| index dcd94ba86c0b470536ae618f0f7419d4b77045da..a5d1ccb6496f7c71b9f48885f4d8b969d94bcdae 100644 |
| --- a/tools/metrics/histograms/histograms.xml |
| +++ b/tools/metrics/histograms/histograms.xml |
| @@ -13517,6 +13517,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
| </summary> |
| </histogram> |
| +<histogram name="Event.AndroidActionDown.ToolType" enum="MotionEventToolType"> |
| + <owner>mustaq@chromium.org</owner> |
| + <summary> |
| + Tracks the number of Android MotionEvents with ACTION_DOWN or |
| + ACTION_POINTER_DOWN or ACTION_BUTTON_PRESS for each ToolType (unknown, |
| + touch, mouse or stylus). |
| + </summary> |
| +</histogram> |
| + |
| <histogram name="Event.CoalescedCount.Mouse"> |
| <owner>rbyers@chromium.org</owner> |
| <summary>Number of Mouse events coalesced.</summary> |
| @@ -93955,6 +93964,14 @@ value. |
| </int> |
| </enum> |
| +<enum name="MotionEventToolType" type="int"> |
| + <summary>The type of tool that triggers a pointer-type MotionEvent.</summary> |
| + <int value="0" label="Unknown">Unknown tool type.</int> |
| + <int value="1" label="Finger">The tool is a finger (touch).</int> |
| + <int value="2" label="Stylus">The tool is a stylus.</int> |
| + <int value="3" label="Mouse">The tool is a mouse or trackpad.</int> |
|
dtapuska
2016/12/01 20:31:34
You need the eraser type here too
mustaq
2016/12/01 21:19:18
Done.
|
| +</enum> |
| + |
| <enum name="MouseEventFollowedByClick" type="int"> |
| <int value="0" label="Missed event before click"/> |
| <int value="1" label="Caught event before click"/> |