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

Unified Diff: public/platform/WebMIDIAccessor.h

Issue 18325007: Web MIDI: introduce WebMIDIClient API to request a permission (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/MIDIAccess.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebMIDIAccessor.h
diff --git a/public/platform/WebMIDIAccessor.h b/public/platform/WebMIDIAccessor.h
index 2c5a3c04019cabdd6140fec820015ecd0075ab92..4534c760a1e7892008de44c9b8a579f06efa4847 100644
--- a/public/platform/WebMIDIAccessor.h
+++ b/public/platform/WebMIDIAccessor.h
@@ -41,6 +41,7 @@ public:
// |access| is set to true if MIDIOptions.sysexEnabled is true. Otherwise false.
virtual void requestAccess(bool access) { }
+ virtual void requestAccess(const WebString& origin, bool access) { }
abarth-chromium 2013/07/01 17:42:21 What do you do with the origin on the Chromium sid
// |timeStamp| is measured in milliseconds as Web MIDI spec defines.
virtual void sendMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStamp) { }
};
« no previous file with comments | « Source/modules/webmidi/MIDIAccess.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698