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

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

Issue 14520002: Web MIDI: implement MIDIInput (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: reviewed 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
« no previous file with comments | « Source/modules/webmidi/MIDIInput.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIInput.idl
diff --git a/Source/modules/quota/StorageErrorCallback.idl b/Source/modules/webmidi/MIDIInput.idl
similarity index 93%
copy from Source/modules/quota/StorageErrorCallback.idl
copy to Source/modules/webmidi/MIDIInput.idl
index 0d65450be7bc64e37ccc6014ff09e46f039f4379..f4cd4f2be6010c47e53d41764a3ff4627509a51f 100644
--- a/Source/modules/quota/StorageErrorCallback.idl
+++ b/Source/modules/webmidi/MIDIInput.idl
@@ -28,6 +28,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-callback interface StorageErrorCallback {
- boolean handleEvent(DOMCoreException error);
+[
+ ActiveDOMObject,
+ EventTarget
+] interface MIDIInput : MIDIPort {
+ attribute EventListener onmidimessage;
};
« no previous file with comments | « Source/modules/webmidi/MIDIInput.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698