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

Unified Diff: Source/modules/webmidi/MIDIClientMock.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/modules/webmidi/MIDIClientMock.h ('k') | Source/modules/webmidi/MIDIController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIClientMock.cpp
diff --git a/Source/modules/webmidi/MIDIClientMock.cpp b/Source/modules/webmidi/MIDIClientMock.cpp
index 5bedac83db375353641493330b9ec81e3924cf8c..3c07409bbb3e69a0345a346cb5e37512cd5ba38c 100644
--- a/Source/modules/webmidi/MIDIClientMock.cpp
+++ b/Source/modules/webmidi/MIDIClientMock.cpp
@@ -44,7 +44,7 @@ MIDIClientMock::~MIDIClientMock()
{
}
-void MIDIClientMock::setSysExPermission(bool allowed)
+void MIDIClientMock::setSysexPermission(bool allowed)
{
m_allowed = allowed;
}
@@ -54,12 +54,12 @@ void MIDIClientMock::resetMock()
m_allowed = false;
}
-void MIDIClientMock::requestSysExPermission(PassRefPtrWillBeRawPtr<MIDIAccess> access)
+void MIDIClientMock::requestSysexPermission(PassRefPtrWillBeRawPtr<MIDIAccess> access)
{
- access->setSysExEnabled(m_allowed);
+ access->setSysexEnabled(m_allowed);
}
-void MIDIClientMock::cancelSysExPermissionRequest(MIDIAccess*)
+void MIDIClientMock::cancelSysexPermissionRequest(MIDIAccess*)
{
}
« no previous file with comments | « Source/modules/webmidi/MIDIClientMock.h ('k') | Source/modules/webmidi/MIDIController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698