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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl

Issue 2099213002: Web MIDI: prepare to deprecate MIDIMessageEvent::receivedTime (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CallWith=ExecutionContext Created 4 years, 6 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/modules/webmidi/MIDIMessageEvent.idl
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl
index bf252c0563dd5c927bf3d8a363bb51796aee6cda..dbcbe117ebca397174802eb560111ecf2cfd818c 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl
@@ -30,9 +30,12 @@
// http://webaudio.github.io/web-midi-api/#idl-def-MIDIMessageEvent
+// TODO(toyoshim): Remove ConstructorCallWith=ExecutionContext and receivedTime.
+// See https://github.com/WebAudio/web-midi-api/issues/145 and crbug.com/599335.
[
Constructor(DOMString type, optional MIDIMessageEventInit eventInitDict),
+ ConstructorCallWith=ExecutionContext,
] interface MIDIMessageEvent : Event {
- readonly attribute double receivedTime;
+ [CallWith=ExecutionContext] readonly attribute double receivedTime;
kouhei (in TOK) 2016/06/30 12:40:45 [DeprecateAs=MIDIMessageEventReceivedTime]
Takashi Toyoshima 2016/07/01 06:50:23 Done.
Takashi Toyoshima 2016/07/01 07:26:59 https://sites.google.com/a/chromium.org/dev/blink?
readonly attribute Uint8Array data;
};

Powered by Google App Engine
This is Rietveld 408576698