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

Unified Diff: Source/web/MIDIClientProxy.cpp

Issue 208243014: Add sysexEnabled readonly attribute to MIDIAccess (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: kouhei review Created 6 years, 9 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/web/MIDIClientProxy.h ('k') | Source/web/WebMIDIClientMock.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/MIDIClientProxy.cpp
diff --git a/Source/web/MIDIClientProxy.cpp b/Source/web/MIDIClientProxy.cpp
index 36a7ccbf86ad1868f4502a376e257a396c1debc2..3791e6ec812c38c752ab10ee7023def391587bc4 100644
--- a/Source/web/MIDIClientProxy.cpp
+++ b/Source/web/MIDIClientProxy.cpp
@@ -44,16 +44,18 @@ MIDIClientProxy::MIDIClientProxy(WebMIDIClient* client)
{
}
-void MIDIClientProxy::requestSysExPermission(PassRefPtrWillBeRawPtr<MIDIAccess> access)
+void MIDIClientProxy::requestSysexPermission(PassRefPtrWillBeRawPtr<MIDIAccess> access)
{
+ // FIXME: call new function once Chromium implements it.
if (m_client)
m_client->requestSysExPermission(WebMIDIPermissionRequest(access));
else
- access->setSysExEnabled(false);
+ access->setSysexEnabled(false);
}
-void MIDIClientProxy::cancelSysExPermissionRequest(MIDIAccess* access)
+void MIDIClientProxy::cancelSysexPermissionRequest(MIDIAccess* access)
{
+ // FIXME: call new function once Chromium implements it.
if (m_client)
m_client->cancelSysExPermissionRequest(WebMIDIPermissionRequest(access));
}
« no previous file with comments | « Source/web/MIDIClientProxy.h ('k') | Source/web/WebMIDIClientMock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698