| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MIDIInputMap_h | 5 #ifndef MIDIInputMap_h |
| 6 #define MIDIInputMap_h | 6 #define MIDIInputMap_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "modules/webmidi/MIDIInput.h" | 9 #include "modules/webmidi/MIDIInput.h" |
| 10 #include "modules/webmidi/MIDIPortMap.h" | 10 #include "modules/webmidi/MIDIPortMap.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class ScriptState; | |
| 15 | |
| 16 class MIDIInputMap : public MIDIPortMap<MIDIInput>, public ScriptWrappable { | 14 class MIDIInputMap : public MIDIPortMap<MIDIInput>, public ScriptWrappable { |
| 17 DEFINE_WRAPPERTYPEINFO(); | 15 DEFINE_WRAPPERTYPEINFO(); |
| 18 | 16 |
| 19 public: | 17 public: |
| 20 explicit MIDIInputMap(const HeapVector<Member<MIDIInput>>&); | 18 explicit MIDIInputMap(const HeapVector<Member<MIDIInput>>&); |
| 21 }; | 19 }; |
| 22 | 20 |
| 23 } // namespace blink | 21 } // namespace blink |
| 24 | 22 |
| 25 #endif | 23 #endif |
| OLD | NEW |