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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIAccessorClient.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/MIDIAccessorClient.h
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIAccessorClient.h b/third_party/WebKit/Source/modules/webmidi/MIDIAccessorClient.h
index 5aea85f2723120aaffe9cb2f5b8ac133122015c1..6dc017c829de10f8cf06cde3c37aac2d8fb58e76 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIAccessorClient.h
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIAccessorClient.h
@@ -31,6 +31,7 @@
#ifndef MIDIAccessorClient_h
#define MIDIAccessorClient_h
+#include "media/midi/midi_service.mojom-blink.h"
#include "modules/webmidi/MIDIAccessor.h"
#include "wtf/Forward.h"
@@ -42,16 +43,16 @@ class MIDIAccessorClient {
const String& manufacturer,
const String& name,
const String& version,
- MIDIAccessor::MIDIPortState) = 0;
+ midi::mojom::PortState) = 0;
virtual void didAddOutputPort(const String& id,
const String& manufacturer,
const String& name,
const String& version,
- MIDIAccessor::MIDIPortState) = 0;
+ midi::mojom::PortState) = 0;
virtual void didSetInputPortState(unsigned portIndex,
- MIDIAccessor::MIDIPortState) = 0;
+ midi::mojom::PortState) = 0;
virtual void didSetOutputPortState(unsigned portIndex,
- MIDIAccessor::MIDIPortState) = 0;
+ midi::mojom::PortState) = 0;
virtual void didStartSession(midi::mojom::Result) = 0;
virtual void didReceiveMIDIData(unsigned portIndex,
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp ('k') | third_party/WebKit/Source/modules/webmidi/MIDIInput.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698