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

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

Issue 649683006: Web MIDI: add blink APIs to notify device connection events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address a comment at #21 Created 6 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
« no previous file with comments | « Source/modules/webmidi/MIDIAccessorClient.h ('k') | Source/modules/webmidi/MIDIInput.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIInput.h
diff --git a/Source/modules/webmidi/MIDIInput.h b/Source/modules/webmidi/MIDIInput.h
index c88594e6d90108eb67a0a87da85f2aae9739881d..6e20022c91adef436c3a2c75d514c78bfa10510d 100644
--- a/Source/modules/webmidi/MIDIInput.h
+++ b/Source/modules/webmidi/MIDIInput.h
@@ -41,7 +41,7 @@ class MIDIAccess;
class MIDIInput final : public MIDIPort {
DEFINE_WRAPPERTYPEINFO();
public:
- static MIDIInput* create(MIDIAccess*, const String& id, const String& manufacturer, const String& name, const String& version);
+ static MIDIInput* create(MIDIAccess*, const String& id, const String& manufacturer, const String& name, const String& version, bool isActive);
virtual ~MIDIInput() { }
DEFINE_ATTRIBUTE_EVENT_LISTENER(midimessage);
@@ -55,7 +55,7 @@ public:
virtual void trace(Visitor*) override;
private:
- MIDIInput(MIDIAccess*, const String& id, const String& manufacturer, const String& name, const String& version);
+ MIDIInput(MIDIAccess*, const String& id, const String& manufacturer, const String& name, const String& version, bool isActive);
};
} // namespace blink
« no previous file with comments | « Source/modules/webmidi/MIDIAccessorClient.h ('k') | Source/modules/webmidi/MIDIInput.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698