1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MIDIOutputMap_h
6 #define MIDIOutputMap_h
8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "modules/webmidi/MIDIOutput.h"
10 #include "modules/webmidi/MIDIPortMap.h"
16 class MIDIOutputMap : public MIDIPortMap<MIDIOutput>, public ScriptWrappable {
17 DEFINE_WRAPPERTYPEINFO();
19 explicit MIDIOutputMap(HeapHashMap<String, Member<MIDIOutput> >);
21 ScriptValue getForBinding(ScriptState*, const String& id);