Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: Source/modules/webmidi/MIDIAccessInitializer.h

Issue 651503002: Clean up forward declarations in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/modules/webdatabase/sqlite/SQLiteFileSystem.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 MIDIAccessInitializer_h 5 #ifndef MIDIAccessInitializer_h
6 #define MIDIAccessInitializer_h 6 #define MIDIAccessInitializer_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptPromiseResolver.h" 9 #include "bindings/core/v8/ScriptPromiseResolver.h"
10 #include "modules/webmidi/MIDIAccessor.h" 10 #include "modules/webmidi/MIDIAccessor.h"
11 #include "modules/webmidi/MIDIAccessorClient.h" 11 #include "modules/webmidi/MIDIAccessorClient.h"
12 #include "modules/webmidi/MIDIPort.h" 12 #include "modules/webmidi/MIDIPort.h"
13 #include "wtf/OwnPtr.h" 13 #include "wtf/OwnPtr.h"
14 #include "wtf/Vector.h" 14 #include "wtf/Vector.h"
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class MIDIAccess;
19 class MIDIOptions; 18 class MIDIOptions;
20 class Navigator;
21 class ScriptState; 19 class ScriptState;
22 20
23 class MIDIAccessInitializer : public ScriptPromiseResolver, public MIDIAccessorC lient { 21 class MIDIAccessInitializer : public ScriptPromiseResolver, public MIDIAccessorC lient {
24 public: 22 public:
25 struct PortDescriptor { 23 struct PortDescriptor {
26 String id; 24 String id;
27 String manufacturer; 25 String manufacturer;
28 String name; 26 String name;
29 MIDIPort::MIDIPortTypeCode type; 27 MIDIPort::MIDIPortTypeCode type;
30 String version; 28 String version;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 63
66 OwnPtr<MIDIAccessor> m_accessor; 64 OwnPtr<MIDIAccessor> m_accessor;
67 bool m_requestSysex; 65 bool m_requestSysex;
68 Vector<PortDescriptor> m_portDescriptors; 66 Vector<PortDescriptor> m_portDescriptors;
69 }; 67 };
70 68
71 } // namespace blink 69 } // namespace blink
72 70
73 71
74 #endif // MIDIAccessInitializer_h 72 #endif // MIDIAccessInitializer_h
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/sqlite/SQLiteFileSystem.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698