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 21 matching lines...) Expand all Loading... |
32 #include "modules/webmidi/MIDIAccess.h" | 32 #include "modules/webmidi/MIDIAccess.h" |
33 | 33 |
34 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
35 #include "core/loader/DocumentLoadTiming.h" | 35 #include "core/loader/DocumentLoadTiming.h" |
36 #include "core/loader/DocumentLoader.h" | 36 #include "core/loader/DocumentLoader.h" |
37 #include "modules/webmidi/MIDIAccessInitializer.h" | 37 #include "modules/webmidi/MIDIAccessInitializer.h" |
38 #include "modules/webmidi/MIDIConnectionEvent.h" | 38 #include "modules/webmidi/MIDIConnectionEvent.h" |
39 #include "modules/webmidi/MIDIController.h" | 39 #include "modules/webmidi/MIDIController.h" |
40 #include "modules/webmidi/MIDIInput.h" | 40 #include "modules/webmidi/MIDIInput.h" |
41 #include "modules/webmidi/MIDIInputMap.h" | 41 #include "modules/webmidi/MIDIInputMap.h" |
42 #include "modules/webmidi/MIDIOptions.h" | |
43 #include "modules/webmidi/MIDIOutput.h" | 42 #include "modules/webmidi/MIDIOutput.h" |
44 #include "modules/webmidi/MIDIOutputMap.h" | 43 #include "modules/webmidi/MIDIOutputMap.h" |
45 #include "modules/webmidi/MIDIPort.h" | 44 #include "modules/webmidi/MIDIPort.h" |
46 #include "platform/AsyncMethodRunner.h" | 45 #include "platform/AsyncMethodRunner.h" |
47 #include <v8.h> | 46 #include <v8.h> |
48 | 47 |
49 namespace blink { | 48 namespace blink { |
50 | 49 |
51 MIDIAccess::MIDIAccess(PassOwnPtr<MIDIAccessor> accessor, bool sysexEnabled, con
st Vector<MIDIAccessInitializer::PortDescriptor>& ports, ExecutionContext* execu
tionContext) | 50 MIDIAccess::MIDIAccess(PassOwnPtr<MIDIAccessor> accessor, bool sysexEnabled, con
st Vector<MIDIAccessInitializer::PortDescriptor>& ports, ExecutionContext* execu
tionContext) |
52 : ActiveDOMObject(executionContext) | 51 : ActiveDOMObject(executionContext) |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 } | 153 } |
155 | 154 |
156 void MIDIAccess::trace(Visitor* visitor) | 155 void MIDIAccess::trace(Visitor* visitor) |
157 { | 156 { |
158 visitor->trace(m_inputs); | 157 visitor->trace(m_inputs); |
159 visitor->trace(m_outputs); | 158 visitor->trace(m_outputs); |
160 EventTargetWithInlineData::trace(visitor); | 159 EventTargetWithInlineData::trace(visitor); |
161 } | 160 } |
162 | 161 |
163 } // namespace blink | 162 } // namespace blink |
OLD | NEW |