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

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: (rebase) Created 7 years, 5 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/WebMIDIAccessor.h
diff --git a/public/platform/WebMIDIAccessor.h b/public/platform/WebMIDIAccessor.h
index 119f0b91aa837f0bc673f02c5bea4bdfeaf7412f..07736bb1a0577166e7627bf3b4512632d265ce32 100644
--- a/public/platform/WebMIDIAccessor.h
+++ b/public/platform/WebMIDIAccessor.h
@@ -39,6 +39,9 @@ class WebMIDIAccessor {
public:
virtual ~WebMIDIAccessor() { }
+ virtual void requestAccess() { }
Chris Rogers 2013/07/10 23:05:48 Because access is now being handled in another pla
Takashi Toyoshima 2013/07/10 23:52:38 Renamed to startSession.
+
+ // FIXME: Remove this obsoleted API. Now access permission is handled though the WebMIDIClient API.
// |access| is set to true if MIDIOptions.sysex is true. Otherwise false.
virtual void requestAccess(bool access) { }
// |timeStamp| is measured in milliseconds as Web MIDI spec defines.

Powered by Google App Engine
This is Rietveld 408576698