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

Unified Diff: content/browser/media/midi_host.h

Issue 662233002: Web MIDI: make MidiManagerMac notify device connections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: it->second Created 5 years, 10 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
« no previous file with comments | « no previous file | content/browser/media/midi_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/midi_host.h
diff --git a/content/browser/media/midi_host.h b/content/browser/media/midi_host.h
index 3a469bf93b9e2eef4ab6a2656f7e899877e15736..9d9c01fe4c3367d072ee6fe7c12b7ab863c7937f 100644
--- a/content/browser/media/midi_host.h
+++ b/content/browser/media/midi_host.h
@@ -16,6 +16,7 @@
#include "content/public/browser/browser_message_filter.h"
#include "content/public/browser/browser_thread.h"
#include "media/midi/midi_manager.h"
+#include "media/midi/midi_port_info.h"
namespace media {
class MidiManager;
@@ -39,6 +40,8 @@ class CONTENT_EXPORT MidiHost
void CompleteStartSession(media::MidiResult result) override;
void AddInputPort(const media::MidiPortInfo& info) override;
void AddOutputPort(const media::MidiPortInfo& info) override;
+ void SetInputPortState(uint32 port, media::MidiPortState state) override;
+ void SetOutputPortState(uint32 port, media::MidiPortState state) override;
void ReceiveMidiData(uint32 port,
const uint8* data,
size_t length,
« no previous file with comments | « no previous file | content/browser/media/midi_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698