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

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: add accessApproved() 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
« 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 acff9862dc1663b4f3cc6a0b73606bc332a52457..56cd45d2401c98d252194d655522687099ddca4f 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"
@@ -143,6 +144,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