OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_RENDERER_MEDIA_MIDI_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MIDI_DISPATCHER_H_ |
6 #define CONTENT_RENDERER_MEDIA_MIDI_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_MEDIA_MIDI_DISPATCHER_H_ |
7 | 7 |
8 #include "base/id_map.h" | 8 #include "base/id_map.h" |
| 9 #include "base/macros.h" |
9 #include "content/common/permission_service.mojom.h" | 10 #include "content/common/permission_service.mojom.h" |
10 #include "content/public/renderer/render_frame_observer.h" | 11 #include "content/public/renderer/render_frame_observer.h" |
11 #include "third_party/WebKit/public/web/WebMIDIClient.h" | 12 #include "third_party/WebKit/public/web/WebMIDIClient.h" |
12 | 13 |
13 namespace blink { | 14 namespace blink { |
14 class WebMIDIPermissionRequest; | 15 class WebMIDIPermissionRequest; |
15 } | 16 } |
16 | 17 |
17 namespace content { | 18 namespace content { |
18 | 19 |
(...skipping 24 matching lines...) Expand all Loading... |
43 Requests requests_; | 44 Requests requests_; |
44 | 45 |
45 PermissionServicePtr permission_service_; | 46 PermissionServicePtr permission_service_; |
46 | 47 |
47 DISALLOW_COPY_AND_ASSIGN(MidiDispatcher); | 48 DISALLOW_COPY_AND_ASSIGN(MidiDispatcher); |
48 }; | 49 }; |
49 | 50 |
50 } // namespace content | 51 } // namespace content |
51 | 52 |
52 #endif // CONTENT_RENDERER_MEDIA_MIDI_DISPATCHER_H_ | 53 #endif // CONTENT_RENDERER_MEDIA_MIDI_DISPATCHER_H_ |
OLD | NEW |