Index: Source/modules/webmidi/MIDIOutputMap.h |
diff --git a/Source/modules/webmidi/MIDIOutputMap.h b/Source/modules/webmidi/MIDIOutputMap.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a5956ce250fa6f34d6079edc567c5060bcd84028 |
--- /dev/null |
+++ b/Source/modules/webmidi/MIDIOutputMap.h |
@@ -0,0 +1,25 @@ |
+// 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. |
+ |
+#ifndef MIDIOutputMap_h |
+#define MIDIOutputMap_h |
+ |
+#include "bindings/core/v8/ScriptWrappable.h" |
+#include "modules/webmidi/MIDIOutput.h" |
+#include "modules/webmidi/MIDIPortMap.h" |
+ |
+namespace blink { |
+ |
+class ScriptState; |
+ |
+class MIDIOutputMap : public MIDIPortMap<MIDIOutput>, public ScriptWrappable { |
+public: |
+ explicit MIDIOutputMap(HeapHashMap<String, Member<MIDIOutput> >); |
+ |
+ ScriptValue getForBinding(ScriptState*, const String& id); |
+}; |
+ |
+} // namespace blink |
+ |
+#endif |