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

Unified Diff: public/platform/WebMIDIAccessorClient.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/WebMIDIAccessorClient.h
diff --git a/public/platform/WebMIDIAccessorClient.h b/public/platform/WebMIDIAccessorClient.h
index a4a590d474f5542b74329067bd5fe53ba58ca2b1..fba29d8970de1f9e7cf7b7d6b0f9b9c26ff93db2 100644
--- a/public/platform/WebMIDIAccessorClient.h
+++ b/public/platform/WebMIDIAccessorClient.h
@@ -41,6 +41,9 @@ public:
virtual void didAddOutputPort(const WebString& id, const WebString& manufacturer, const WebString& name, const WebString& version) = 0;
virtual void didAllowAccess() = 0;
Chris Rogers 2013/07/10 23:05:48 Now that permissions is being handled in another p
Takashi Toyoshima 2013/07/10 23:52:38 Renamed to didStartSession.
+
+ // FIXME: Remove this obsoleted API. Now access permission is handled though the WebMIDIClient API.
+ // Only didAllowAccess() is used to notice the completion of adding all ports.
virtual void didBlockAccess() = 0;
// |timeStamp| is in milliseconds according to the Web MIDI API.

Powered by Google App Engine
This is Rietveld 408576698