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

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

Issue 311773003: Decouple MIDIAccess initialization from MIDIAccess class. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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: Source/modules/webmidi/MIDIAccessor.h
diff --git a/Source/modules/webmidi/MIDIAccessor.h b/Source/modules/webmidi/MIDIAccessor.h
index 2c656ff6b25fc10da820059e6395faf832203917..94c472e39bcee3b67ce13c61afbb330b9c0f702a 100644
--- a/Source/modules/webmidi/MIDIAccessor.h
+++ b/Source/modules/webmidi/MIDIAccessor.h
@@ -48,6 +48,7 @@ public:
void startSession();
void sendMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStamp);
Takashi Toyoshima 2014/06/04 22:03:53 Can you add some useful comments here? It will be
yhirano 2014/06/05 11:35:25 Done.
+ void setClient(MIDIAccessorClient* client) { m_client = client; }
// blink::WebMIDIAccessorClient
virtual void didAddInputPort(const blink::WebString& id, const blink::WebString& manufacturer, const blink::WebString& name, const blink::WebString& version) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698