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

Unified Diff: public/platform/Platform.h

Issue 16288002: Web MIDI API (work in progress) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: minor compile fix Created 7 years, 7 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/NavigatorMIDIAccess.idl ('k') | public/platform/WebMIDIAccessor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index 273e646f7100b60b79f513e52ea0dfe7afb7fc45..42c8df3dae53b1937254ed00741cebcd7818dead 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -41,6 +41,7 @@
#include "WebGamepads.h"
#include "WebGraphicsContext3D.h"
#include "WebLocalizedString.h"
+#include "WebMIDIAccessor.h"
#include "WebSpeechSynthesizer.h"
#include "WebString.h"
#include "WebVector.h"
@@ -142,6 +143,8 @@ 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(WebMIDIAccessor::Client*) { return 0; }
// Blob ----------------------------------------------------------------
« no previous file with comments | « Source/modules/webmidi/NavigatorMIDIAccess.idl ('k') | public/platform/WebMIDIAccessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698