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

Unified Diff: third_party/WebKit/Source/core/events/MessageEvent.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/events/MessageEvent.idl
diff --git a/third_party/WebKit/Source/core/events/MessageEvent.idl b/third_party/WebKit/Source/core/events/MessageEvent.idl
index 5c3a7e34eb4316c3979851519ea456043f42c863..838b722c9541357651059514afe1555d9a56434d 100644
--- a/third_party/WebKit/Source/core/events/MessageEvent.idl
+++ b/third_party/WebKit/Source/core/events/MessageEvent.idl
@@ -36,10 +36,10 @@
readonly attribute DOMString origin;
readonly attribute DOMString lastEventId;
// TODO(bashi): |source| should be (WindowProxy or MessagePort)?
- readonly attribute EventTarget? source;
+ [Measure] readonly attribute EventTarget? source;
// TODO(foolip): |ports| should be FrozenArray<MessagePort>?
- readonly attribute MessagePort[]? ports;
- [RuntimeEnabled=suborigins] readonly attribute DOMString suborigin;
+ [Measure] readonly attribute MessagePort[]? ports;
+ [Measure, RuntimeEnabled=suborigins] readonly attribute DOMString suborigin;
// TODO(foolip): None of the initMessageEvent() arguments should be
// optional, and |sourceArg| and |portsArg| are of the wrong type.
« no previous file with comments | « third_party/WebKit/Source/core/events/InputEvent.idl ('k') | third_party/WebKit/Source/core/events/MouseEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698