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: third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp

Issue 2116763002: Reland: Web MIDI: use mojom::blink::PermissionService directly to ask permission (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for second attempt Created 4 years, 4 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
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 17 matching lines...) Expand all
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 #include "modules/webmidi/MIDIAccess.h" 31 #include "modules/webmidi/MIDIAccess.h"
32 32
33 #include "core/dom/Document.h" 33 #include "core/dom/Document.h"
34 #include "core/loader/DocumentLoadTiming.h" 34 #include "core/loader/DocumentLoadTiming.h"
35 #include "core/loader/DocumentLoader.h" 35 #include "core/loader/DocumentLoader.h"
36 #include "modules/webmidi/MIDIAccessInitializer.h" 36 #include "modules/webmidi/MIDIAccessInitializer.h"
37 #include "modules/webmidi/MIDIConnectionEvent.h" 37 #include "modules/webmidi/MIDIConnectionEvent.h"
38 #include "modules/webmidi/MIDIController.h"
39 #include "modules/webmidi/MIDIInput.h" 38 #include "modules/webmidi/MIDIInput.h"
40 #include "modules/webmidi/MIDIInputMap.h" 39 #include "modules/webmidi/MIDIInputMap.h"
41 #include "modules/webmidi/MIDIOutput.h" 40 #include "modules/webmidi/MIDIOutput.h"
42 #include "modules/webmidi/MIDIOutputMap.h" 41 #include "modules/webmidi/MIDIOutputMap.h"
43 #include "modules/webmidi/MIDIPort.h" 42 #include "modules/webmidi/MIDIPort.h"
44 #include "platform/AsyncMethodRunner.h" 43 #include "platform/AsyncMethodRunner.h"
45 #include <memory> 44 #include <memory>
46 45
47 namespace blink { 46 namespace blink {
48 47
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 208
210 DEFINE_TRACE(MIDIAccess) 209 DEFINE_TRACE(MIDIAccess)
211 { 210 {
212 visitor->trace(m_inputs); 211 visitor->trace(m_inputs);
213 visitor->trace(m_outputs); 212 visitor->trace(m_outputs);
214 EventTargetWithInlineData::trace(visitor); 213 EventTargetWithInlineData::trace(visitor);
215 ActiveDOMObject::trace(visitor); 214 ActiveDOMObject::trace(visitor);
216 } 215 }
217 216
218 } // namespace blink 217 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | third_party/WebKit/Source/modules/webmidi/MIDIAccessInitializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698