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

Unified Diff: public/platform/Platform.h

Issue 17155009: Web MIDI: MIDIAccessor platform implementation and Blink API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 99 Created 7 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: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index de31d2a3ee301c215f2d6069ad4edca9b9debdc4..f3d03d57340386f07ddfee09d2ed89abb5c2de9d 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -66,6 +66,8 @@ class WebGestureCurve;
class WebGraphicsContext3DProvider;
class WebHyphenator;
class WebIDBFactory;
+class WebMIDIAccessor;
+class WebMIDIAccessorClient;
class WebMediaStreamCenter;
class WebMediaStreamCenterClient;
class WebMessagePortChannel;
@@ -151,6 +153,9 @@ public:
virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; }
virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; }
+ // MIDI ----------------------------------------------------------------
+
+ virtual WebMIDIAccessor* createMIDIAccessor(WebMIDIAccessorClient*) { return 0; }
// Blob ----------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698