OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef MIDIAccess_h | 31 #ifndef MIDIAccess_h |
32 #define MIDIAccess_h | 32 #define MIDIAccess_h |
33 | 33 |
34 #include "bindings/v8/ScriptPromise.h" | 34 #include "bindings/v8/ScriptPromise.h" |
35 #include "bindings/v8/ScriptPromiseResolverWithContext.h" | 35 #include "bindings/v8/ScriptPromiseResolverWithContext.h" |
36 #include "bindings/v8/ScriptWrappable.h" | 36 #include "bindings/v8/ScriptWrappable.h" |
37 #include "core/dom/ActiveDOMObject.h" | 37 #include "core/dom/ActiveDOMObject.h" |
38 #include "core/events/EventTarget.h" | 38 #include "modules/EventTargetModules.h" |
39 #include "modules/webmidi/MIDIAccessor.h" | 39 #include "modules/webmidi/MIDIAccessor.h" |
40 #include "modules/webmidi/MIDIAccessorClient.h" | 40 #include "modules/webmidi/MIDIAccessorClient.h" |
41 #include "modules/webmidi/MIDIInput.h" | 41 #include "modules/webmidi/MIDIInput.h" |
42 #include "modules/webmidi/MIDIOptions.h" | 42 #include "modules/webmidi/MIDIOptions.h" |
43 #include "modules/webmidi/MIDIOutput.h" | 43 #include "modules/webmidi/MIDIOutput.h" |
44 #include "platform/AsyncMethodRunner.h" | 44 #include "platform/AsyncMethodRunner.h" |
45 #include "platform/heap/Handle.h" | 45 #include "platform/heap/Handle.h" |
46 #include "wtf/RefCounted.h" | 46 #include "wtf/RefCounted.h" |
47 #include "wtf/RefPtr.h" | 47 #include "wtf/RefPtr.h" |
48 #include "wtf/WeakPtr.h" | 48 #include "wtf/WeakPtr.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 MIDIOutputVector m_outputs; | 108 MIDIOutputVector m_outputs; |
109 OwnPtr<MIDIAccessor> m_accessor; | 109 OwnPtr<MIDIAccessor> m_accessor; |
110 MIDIOptions m_options; | 110 MIDIOptions m_options; |
111 bool m_sysexEnabled; | 111 bool m_sysexEnabled; |
112 RefPtr<ScriptPromiseResolverWithContext> m_resolver; | 112 RefPtr<ScriptPromiseResolverWithContext> m_resolver; |
113 }; | 113 }; |
114 | 114 |
115 } // namespace WebCore | 115 } // namespace WebCore |
116 | 116 |
117 #endif // MIDIAccess_h | 117 #endif // MIDIAccess_h |
OLD | NEW |