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

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

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/webmidi/MIDIAccess.cpp ('k') | Source/modules/webmidi/MIDIAccessInitializer.cpp » ('j') | 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/MIDIOptions.h" 12 #include "modules/webmidi/MIDIOptions.h"
13 #include "modules/webmidi/MIDIPort.h" 13 #include "modules/webmidi/MIDIPort.h"
14 #include "wtf/OwnPtr.h" 14 #include "wtf/OwnPtr.h"
15 #include "wtf/Vector.h" 15 #include "wtf/Vector.h"
16 16
17 namespace WebCore { 17 namespace blink {
18 18
19 class MIDIAccess; 19 class MIDIAccess;
20 class Navigator; 20 class Navigator;
21 class ScriptState; 21 class ScriptState;
22 22
23 class MIDIAccessInitializer : public ScriptPromiseResolver, public MIDIAccessorC lient { 23 class MIDIAccessInitializer : public ScriptPromiseResolver, public MIDIAccessorC lient {
24 public: 24 public:
25 struct PortDescriptor { 25 struct PortDescriptor {
26 String id; 26 String id;
27 String manufacturer; 27 String manufacturer;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 MIDIAccessInitializer(ScriptState*, const MIDIOptions&); 62 MIDIAccessInitializer(ScriptState*, const MIDIOptions&);
63 63
64 ExecutionContext* executionContext() const; 64 ExecutionContext* executionContext() const;
65 65
66 OwnPtr<MIDIAccessor> m_accessor; 66 OwnPtr<MIDIAccessor> m_accessor;
67 MIDIOptions m_options; 67 MIDIOptions m_options;
68 bool m_sysexEnabled; 68 bool m_sysexEnabled;
69 Vector<PortDescriptor> m_portDescriptors; 69 Vector<PortDescriptor> m_portDescriptors;
70 }; 70 };
71 71
72 } // namespace WebCore 72 } // namespace blink
73 73
74 74
75 #endif // MIDIAccessInitializer_h 75 #endif // MIDIAccessInitializer_h
OLDNEW
« no previous file with comments | « Source/modules/webmidi/MIDIAccess.cpp ('k') | Source/modules/webmidi/MIDIAccessInitializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698