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

Unified Diff: third_party/WebKit/Source/web/MIDIClientProxy.h

Issue 1602703005: Web MIDI: Ask permissions of the content layer always (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert layout_test_message_filter.cc that should be in the next CL Created 4 years, 11 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: third_party/WebKit/Source/web/MIDIClientProxy.h
diff --git a/third_party/WebKit/Source/web/MIDIClientProxy.h b/third_party/WebKit/Source/web/MIDIClientProxy.h
index 163802ea647c1f63c267260b631f48e30ac78f57..05395e8dbbc8ed57825ba5b4a26d8ee8ed073fcc 100644
--- a/third_party/WebKit/Source/web/MIDIClientProxy.h
+++ b/third_party/WebKit/Source/web/MIDIClientProxy.h
@@ -37,6 +37,7 @@
namespace blink {
class MIDIAccessInitializer;
+class MIDIOptions;
class WebMIDIClient;
class MIDIClientProxy final : public MIDIClient {
@@ -47,8 +48,8 @@ public:
}
// MIDIClient
- void requestSysexPermission(MIDIAccessInitializer*) override;
- void cancelSysexPermissionRequest(MIDIAccessInitializer*) override;
+ void requestPermission(MIDIAccessInitializer*, const MIDIOptions&) override;
+ void cancelPermissionRequest(MIDIAccessInitializer*) override;
private:
explicit MIDIClientProxy(WebMIDIClient*);
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIOptions.idl ('k') | third_party/WebKit/Source/web/MIDIClientProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698