OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MIDI_MESSAGE_FILTER_H_ |
6 #define CONTENT_RENDERER_MEDIA_MIDI_MESSAGE_FILTER_H_ | 6 #define CONTENT_RENDERER_MEDIA_MIDI_MESSAGE_FILTER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <memory> | 11 #include <memory> |
12 #include <set> | 12 #include <set> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
17 #include "ipc/message_filter.h" | 17 #include "ipc/message_filter.h" |
18 #include "media/midi/midi_port_info.h" | 18 #include "media/midi/midi_port_info.h" |
19 #include "media/midi/result.h" | 19 #include "media/midi/midi_service.mojom.h" |
20 #include "third_party/WebKit/public/platform/modules/webmidi/WebMIDIAccessorClie
nt.h" | 20 #include "third_party/WebKit/public/platform/modules/webmidi/WebMIDIAccessorClie
nt.h" |
21 | 21 |
22 namespace base { | 22 namespace base { |
23 class SingleThreadTaskRunner; | 23 class SingleThreadTaskRunner; |
24 } | 24 } |
25 | 25 |
26 namespace content { | 26 namespace content { |
27 | 27 |
28 // MessageFilter that handles MIDI messages. Created on render thread, and | 28 // MessageFilter that handles MIDI messages. Created on render thread, and |
29 // host multiple clients running on multiple frames on IO thread. | 29 // host multiple clients running on multiple frames on IO thread. |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 media::midi::MidiPortInfoList outputs_; | 160 media::midi::MidiPortInfoList outputs_; |
161 | 161 |
162 size_t unacknowledged_bytes_sent_; | 162 size_t unacknowledged_bytes_sent_; |
163 | 163 |
164 DISALLOW_COPY_AND_ASSIGN(MidiMessageFilter); | 164 DISALLOW_COPY_AND_ASSIGN(MidiMessageFilter); |
165 }; | 165 }; |
166 | 166 |
167 } // namespace content | 167 } // namespace content |
168 | 168 |
169 #endif // CONTENT_RENDERER_MEDIA_MIDI_MESSAGE_FILTER_H_ | 169 #endif // CONTENT_RENDERER_MEDIA_MIDI_MESSAGE_FILTER_H_ |
OLD | NEW |