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

Unified Diff: content/shell/renderer/test_runner/test_runner.cc

Issue 210003002: Web MIDI API renaming: the second step of three step changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (rebase) 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 | « content/shell/renderer/test_runner/test_runner.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/test_runner.cc
diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
index 06ba74b703c3e590eac7e1780012684d43d51e84..de6d74996384717e77be7f545344492bcaee8b74 100644
--- a/content/shell/renderer/test_runner/test_runner.cc
+++ b/content/shell/renderer/test_runner/test_runner.cc
@@ -234,7 +234,7 @@ class TestRunnerBindings : public gin::Wrappable<TestRunnerBindings> {
void SetBackingScaleFactor(double value, v8::Handle<v8::Function> callback);
void SetPOSIXLocale(const std::string& locale);
void SetMIDIAccessorResult(bool result);
- void SetMIDISysExPermission(bool value);
+ void SetMIDISysexPermission(bool value);
void GrantWebNotificationPermission(gin::Arguments* args);
bool SimulateWebNotificationClick(const std::string& value);
void AddMockSpeechInputResult(const std::string& result,
@@ -460,8 +460,8 @@ gin::ObjectTemplateBuilder TestRunnerBindings::GetObjectTemplateBuilder(
.SetMethod("setPOSIXLocale", &TestRunnerBindings::SetPOSIXLocale)
.SetMethod("setMIDIAccessorResult",
&TestRunnerBindings::SetMIDIAccessorResult)
- .SetMethod("setMIDISysExPermission",
- &TestRunnerBindings::SetMIDISysExPermission)
+ .SetMethod("setMIDISysexPermission",
+ &TestRunnerBindings::SetMIDISysexPermission)
.SetMethod("grantWebNotificationPermission",
&TestRunnerBindings::GrantWebNotificationPermission)
.SetMethod("simulateWebNotificationClick",
@@ -1169,9 +1169,9 @@ void TestRunnerBindings::SetMIDIAccessorResult(bool result) {
runner_->SetMIDIAccessorResult(result);
}
-void TestRunnerBindings::SetMIDISysExPermission(bool value) {
+void TestRunnerBindings::SetMIDISysexPermission(bool value) {
if (runner_)
- runner_->SetMIDISysExPermission(value);
+ runner_->SetMIDISysexPermission(value);
}
void TestRunnerBindings::GrantWebNotificationPermission(gin::Arguments* args) {
@@ -2511,11 +2511,11 @@ void TestRunner::SetMIDIAccessorResult(bool result) {
midi_accessor_result_ = result;
}
-void TestRunner::SetMIDISysExPermission(bool value) {
+void TestRunner::SetMIDISysexPermission(bool value) {
const std::vector<WebTestProxyBase*>& windowList =
test_interfaces_->windowList();
for (unsigned i = 0; i < windowList.size(); ++i)
- windowList.at(i)->midiClientMock()->setSysExPermission(value);
+ windowList.at(i)->midiClientMock()->setSysexPermission(value);
}
void TestRunner::GrantWebNotificationPermission(const std::string& origin,
« no previous file with comments | « content/shell/renderer/test_runner/test_runner.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698