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

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: rebase Created 4 years, 5 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..7fbd0f6ba277ef15dd0599cead16daac4cf00d15 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;
+ [DeprecateAs=MIDIMessageEventReceivedTime] readonly attribute double receivedTime;
readonly attribute Uint8Array data;
};
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698