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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp

Issue 2422163002: Web MIDI: use midi_service.mojom for media::midi::PortState (Closed)
Patch Set: gn --check fix Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp
index 73103df4527384d1a6ad1079b13a00c1897e44e0..21402a9ef0be6f5660b3e3f6512a7f034e5f9110 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp
@@ -36,11 +36,12 @@
#include "core/frame/LocalDOMWindow.h"
#include "core/timing/DOMWindowPerformance.h"
#include "core/timing/Performance.h"
+#include "media/midi/midi_service.mojom-blink.h"
#include "modules/webmidi/MIDIAccess.h"
-namespace blink {
+using midi::mojom::PortState;
-using PortState = MIDIAccessor::MIDIPortState;
+namespace blink {
namespace {
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIOutput.h ('k') | third_party/WebKit/Source/modules/webmidi/MIDIPort.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698