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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIInput.h

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/MIDIInput.h
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIInput.h b/third_party/WebKit/Source/modules/webmidi/MIDIInput.h
index aca39608d329ab5b39ac2e0e5eefb2a07388c144..2d2e71303c939266374ceaf39ed63fbc576d2e5f 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIInput.h
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIInput.h
@@ -31,6 +31,7 @@
#ifndef MIDIInput_h
#define MIDIInput_h
+#include "media/midi/midi_service.mojom-blink.h"
#include "modules/EventTargetModules.h"
#include "modules/webmidi/MIDIAccessor.h"
#include "modules/webmidi/MIDIPort.h"
@@ -48,7 +49,7 @@ class MIDIInput final : public MIDIPort {
const String& manufacturer,
const String& name,
const String& version,
- MIDIAccessor::MIDIPortState);
+ midi::mojom::PortState);
~MIDIInput() override {}
EventListener* onmidimessage();
@@ -78,7 +79,7 @@ class MIDIInput final : public MIDIPort {
const String& manufacturer,
const String& name,
const String& version,
- MIDIAccessor::MIDIPortState);
+ midi::mojom::PortState);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698