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

Side by Side Diff: Source/modules/webmidi/MIDIAccess.cpp

Issue 547383004: WebMIDI: Add MIDIOptions dictionary (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add assertion Created 6 years, 3 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/webmidi/MIDIAccess.h ('k') | Source/modules/webmidi/MIDIAccessInitializer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/modules/webmidi/MIDIAccess.h ('k') | Source/modules/webmidi/MIDIAccessInitializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698