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

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: address chris' review 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
« no previous file with comments | « public/platform/WebMIDIAccessor.h ('k') | public/web/WebMIDIClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebMIDIAccessorClient.h
diff --git a/public/platform/WebMIDIAccessorClient.h b/public/platform/WebMIDIAccessorClient.h
index a4a590d474f5542b74329067bd5fe53ba58ca2b1..b23dd0eedd0105853d58e02d1f8bbc089d00228a 100644
--- a/public/platform/WebMIDIAccessorClient.h
+++ b/public/platform/WebMIDIAccessorClient.h
@@ -40,6 +40,9 @@ public:
virtual void didAddInputPort(const WebString& id, const WebString& manufacturer, const WebString& name, const WebString& version) = 0;
virtual void didAddOutputPort(const WebString& id, const WebString& manufacturer, const WebString& name, const WebString& version) = 0;
+ virtual void didStartSession() = 0;
+
+ // FIXME: Remove these obsoleted APIs.
virtual void didAllowAccess() = 0;
virtual void didBlockAccess() = 0;
« no previous file with comments | « public/platform/WebMIDIAccessor.h ('k') | public/web/WebMIDIClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698