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

Unified Diff: third_party/WebKit/Source/core/events/PointerEvent.idl

Issue 1895983002: Adding UMA metrics to track usage of pointerevents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/events/PointerEvent.idl
diff --git a/third_party/WebKit/Source/core/events/PointerEvent.idl b/third_party/WebKit/Source/core/events/PointerEvent.idl
index cecf01e276a8a60d9b847d03143abcc30fe3a0df..a2f6e3814e643fb023e5bdecf5e09f63b32e0d69 100644
--- a/third_party/WebKit/Source/core/events/PointerEvent.idl
+++ b/third_party/WebKit/Source/core/events/PointerEvent.idl
@@ -8,12 +8,12 @@
Constructor(DOMString type, optional PointerEventInit eventInitDict),
RuntimeEnabled=PointerEvent,
] interface PointerEvent : MouseEvent {
- readonly attribute long pointerId;
- readonly attribute double width;
- readonly attribute double height;
- readonly attribute float pressure;
- readonly attribute long tiltX;
- readonly attribute long tiltY;
- readonly attribute DOMString pointerType;
- readonly attribute boolean isPrimary;
+ [MeasureAs=PointerEventAttributeCount] readonly attribute long pointerId;
+ [MeasureAs=PointerEventAttributeCount] readonly attribute double width;
+ [MeasureAs=PointerEventAttributeCount] readonly attribute double height;
+ [MeasureAs=PointerEventAttributeCount] readonly attribute float pressure;
+ [MeasureAs=PointerEventAttributeCount] readonly attribute long tiltX;
+ [MeasureAs=PointerEventAttributeCount] readonly attribute long tiltY;
+ [MeasureAs=PointerEventAttributeCount] readonly attribute DOMString pointerType;
+ [MeasureAs=PointerEventAttributeCount] readonly attribute boolean isPrimary;
};

Powered by Google App Engine
This is Rietveld 408576698