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

Unified Diff: Source/modules/webmidi/MIDIConnectionEvent.idl

Issue 14358032: Web MIDI: implement MIDIConnectionEvent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: haraken review Created 7 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: Source/modules/webmidi/MIDIConnectionEvent.idl
diff --git a/Source/modules/webmidi/MIDIErrorCallback.idl b/Source/modules/webmidi/MIDIConnectionEvent.idl
similarity index 91%
copy from Source/modules/webmidi/MIDIErrorCallback.idl
copy to Source/modules/webmidi/MIDIConnectionEvent.idl
index 25d6ba1491b01f1c60383b814e1c3c6872777b7e..3946564c26eb9e56b31ddde00e9a1b842281b772 100644
--- a/Source/modules/webmidi/MIDIErrorCallback.idl
+++ b/Source/modules/webmidi/MIDIConnectionEvent.idl
@@ -29,7 +29,7 @@
*/
[
- Callback
-] interface MIDIErrorCallback {
- boolean handleEvent(DOMError error);
+ ConstructorTemplate=Event
+] interface MIDIConnectionEvent : Event {
+ [InitializedByEventConstructor] readonly attribute MIDIPort port;
};
« Source/bindings/v8/Dictionary.h ('K') | « Source/modules/webmidi/MIDIConnectionEvent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698