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

Unified Diff: modules/webmidi/MIDIInputMap.idl

Issue 959933002: Move IDLs to 39 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 5 years, 10 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 | « modules/webmidi/MIDIAccess.idl ('k') | modules/webmidi/MIDIOptions.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/webmidi/MIDIInputMap.idl
diff --git a/modules/webmidi/MIDIInputMap.idl b/modules/webmidi/MIDIInputMap.idl
new file mode 100644
index 0000000000000000000000000000000000000000..e165c9925098524e027be14eb624928504694937
--- /dev/null
+++ b/modules/webmidi/MIDIInputMap.idl
@@ -0,0 +1,22 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// FIXME: Implement forEach.
+// callback ForEachCallback = void(DOMString id, MIDIInput port);
+
+[
+ Iterable,
+ NoInterfaceObject,
+ GarbageCollected,
+] interface MIDIInputMap {
+ readonly attribute unsigned long size;
+ Iterator keys();
+ Iterator entries();
+ Iterator values();
+ // This function returns undefined if |!this->has(id)|.
+ [ImplementedAs=getForBinding, CallWith=ScriptState] any get(DOMString id);
+ boolean has(DOMString key);
+ // FIXME: Implement forEach.
+ // void forEach (ForEachCallback callback);
+};
« no previous file with comments | « modules/webmidi/MIDIAccess.idl ('k') | modules/webmidi/MIDIOptions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698