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

Unified Diff: third_party/WebKit/Source/core/dom/GlobalEventHandlers.idl

Issue 2526943002: Add use counters for lots of DOM APIs.
Patch Set: Add use counters for lots of DOM APIs. Created 4 years 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/dom/GlobalEventHandlers.idl
diff --git a/third_party/WebKit/Source/core/dom/GlobalEventHandlers.idl b/third_party/WebKit/Source/core/dom/GlobalEventHandlers.idl
index de33f3c341ff2ca7caa22fc7d35f7d8a2c329834..2272572f5fc159a28f680837f173a1854da18d9c 100644
--- a/third_party/WebKit/Source/core/dom/GlobalEventHandlers.idl
+++ b/third_party/WebKit/Source/core/dom/GlobalEventHandlers.idl
@@ -33,68 +33,68 @@
LegacyTreatAsPartialInterface,
NoInterfaceObject, // Always used on target of 'implements'
] interface GlobalEventHandlers {
- attribute EventHandler onabort;
- attribute EventHandler onblur;
- attribute EventHandler oncancel;
- attribute EventHandler oncanplay;
- attribute EventHandler oncanplaythrough;
- attribute EventHandler onchange;
- attribute EventHandler onclick;
- attribute EventHandler onclose;
- attribute EventHandler oncontextmenu;
- attribute EventHandler oncuechange;
- attribute EventHandler ondblclick;
- attribute EventHandler ondrag;
- attribute EventHandler ondragend;
- attribute EventHandler ondragenter;
+ [Measure] attribute EventHandler onabort;
+ [Measure] attribute EventHandler onblur;
+ [Measure] attribute EventHandler oncancel;
+ [Measure] attribute EventHandler oncanplay;
+ [Measure] attribute EventHandler oncanplaythrough;
+ [Measure] attribute EventHandler onchange;
+ [Measure] attribute EventHandler onclick;
+ [Measure] attribute EventHandler onclose;
+ [Measure] attribute EventHandler oncontextmenu;
+ [Measure] attribute EventHandler oncuechange;
+ [Measure] attribute EventHandler ondblclick;
+ [Measure] attribute EventHandler ondrag;
+ [Measure] attribute EventHandler ondragend;
+ [Measure] attribute EventHandler ondragenter;
//attribute EventHandler ondragexit;
- attribute EventHandler ondragleave;
- attribute EventHandler ondragover;
- attribute EventHandler ondragstart;
- attribute EventHandler ondrop;
- attribute EventHandler ondurationchange;
- attribute EventHandler onemptied;
- attribute EventHandler onended;
+ [Measure] attribute EventHandler ondragleave;
+ [Measure] attribute EventHandler ondragover;
+ [Measure] attribute EventHandler ondragstart;
+ [Measure] attribute EventHandler ondrop;
+ [Measure] attribute EventHandler ondurationchange;
+ [Measure] attribute EventHandler onemptied;
+ [Measure] attribute EventHandler onended;
// FIXME: onerror should be an OnErrorEventHandler.
- attribute EventHandler onerror;
- attribute EventHandler onfocus;
- attribute EventHandler oninput;
- attribute EventHandler oninvalid;
- attribute EventHandler onkeydown;
- attribute EventHandler onkeypress;
- attribute EventHandler onkeyup;
- attribute EventHandler onload;
- attribute EventHandler onloadeddata;
- attribute EventHandler onloadedmetadata;
- attribute EventHandler onloadstart;
- attribute EventHandler onmousedown;
- [LenientThis] attribute EventHandler onmouseenter;
- [LenientThis] attribute EventHandler onmouseleave;
- attribute EventHandler onmousemove;
- attribute EventHandler onmouseout;
- attribute EventHandler onmouseover;
- attribute EventHandler onmouseup;
- attribute EventHandler onmousewheel;
- attribute EventHandler onpause;
- attribute EventHandler onplay;
- attribute EventHandler onplaying;
- attribute EventHandler onprogress;
- attribute EventHandler onratechange;
- attribute EventHandler onreset;
- attribute EventHandler onresize;
- attribute EventHandler onscroll;
- attribute EventHandler onseeked;
- attribute EventHandler onseeking;
- attribute EventHandler onselect;
- attribute EventHandler onshow;
+ [Measure] attribute EventHandler onerror;
+ [Measure] attribute EventHandler onfocus;
+ [Measure] attribute EventHandler oninput;
+ [Measure] attribute EventHandler oninvalid;
+ [Measure] attribute EventHandler onkeydown;
+ [Measure] attribute EventHandler onkeypress;
+ [Measure] attribute EventHandler onkeyup;
+ [Measure] attribute EventHandler onload;
+ [Measure] attribute EventHandler onloadeddata;
+ [Measure] attribute EventHandler onloadedmetadata;
+ [Measure] attribute EventHandler onloadstart;
+ [Measure] attribute EventHandler onmousedown;
+ [LenientThis, Measure] attribute EventHandler onmouseenter;
+ [LenientThis, Measure] attribute EventHandler onmouseleave;
+ [Measure] attribute EventHandler onmousemove;
+ [Measure] attribute EventHandler onmouseout;
+ [Measure] attribute EventHandler onmouseover;
+ [Measure] attribute EventHandler onmouseup;
+ [Measure] attribute EventHandler onmousewheel;
+ [Measure] attribute EventHandler onpause;
+ [Measure] attribute EventHandler onplay;
+ [Measure] attribute EventHandler onplaying;
+ [Measure] attribute EventHandler onprogress;
+ [Measure] attribute EventHandler onratechange;
+ [Measure] attribute EventHandler onreset;
+ [Measure] attribute EventHandler onresize;
+ [Measure] attribute EventHandler onscroll;
+ [Measure] attribute EventHandler onseeked;
+ [Measure] attribute EventHandler onseeking;
+ [Measure] attribute EventHandler onselect;
+ [Measure] attribute EventHandler onshow;
//attribute EventHandler onsort;
- attribute EventHandler onstalled;
- attribute EventHandler onsubmit;
- attribute EventHandler onsuspend;
- attribute EventHandler ontimeupdate;
- attribute EventHandler ontoggle;
- attribute EventHandler onvolumechange;
- attribute EventHandler onwaiting;
+ [Measure] attribute EventHandler onstalled;
+ [Measure] attribute EventHandler onsubmit;
+ [Measure] attribute EventHandler onsuspend;
+ [Measure] attribute EventHandler ontimeupdate;
+ [Measure] attribute EventHandler ontoggle;
+ [Measure] attribute EventHandler onvolumechange;
+ [Measure] attribute EventHandler onwaiting;
// auxclick
// https://navidz.github.io/auxclick/
@@ -102,19 +102,19 @@
// Pointer Events
// https://w3c.github.io/pointerevents/#extensions-to-the-globaleventhandlers-interface
- [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerdown;
- [RuntimeEnabled=PointerEvent] attribute EventHandler onpointermove;
- [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerup;
- [RuntimeEnabled=PointerEvent] attribute EventHandler onpointercancel;
- [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerover;
- [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerout;
- [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerenter;
- [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerleave;
+ [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointerdown;
+ [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointermove;
+ [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointerup;
+ [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointercancel;
+ [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointerover;
+ [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointerout;
+ [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointerenter;
+ [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointerleave;
// Touch Events
// https://w3c.github.io/touch-events/#extensions-to-the-globaleventhandlers-interface
- [RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchcancel;
- [RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchend;
- [RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchmove;
- [RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchstart;
+ [Measure, RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchcancel;
+ [Measure, RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchend;
+ [Measure, RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchmove;
+ [Measure, RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchstart;
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/ElementFullscreen.idl ('k') | third_party/WebKit/Source/core/dom/MessageChannel.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698