| 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 60f0964c16bb8b0ebdc01f6af20229bd847edc9d..b82ca985a46d9c41102e6300d875e7cfefa046f3 100644
|
| --- a/content/shell/renderer/test_runner/test_runner.cc
|
| +++ b/content/shell/renderer/test_runner/test_runner.cc
|
| @@ -282,8 +282,6 @@ class TestRunnerBindings : public gin::Wrappable<TestRunnerBindings> {
|
| v8::Handle<v8::Function> callback);
|
| void SetPOSIXLocale(const std::string& locale);
|
| void SetMIDIAccessorResult(bool result);
|
| - void GrantWebNotificationPermission(gin::Arguments* args);
|
| - void ClearWebNotificationPermissions();
|
| void SimulateWebNotificationClick(const std::string& title);
|
| void AddMockSpeechRecognitionResult(const std::string& transcript,
|
| double confidence);
|
| @@ -528,10 +526,6 @@ gin::ObjectTemplateBuilder TestRunnerBindings::GetObjectTemplateBuilder(
|
| .SetMethod("setPOSIXLocale", &TestRunnerBindings::SetPOSIXLocale)
|
| .SetMethod("setMIDIAccessorResult",
|
| &TestRunnerBindings::SetMIDIAccessorResult)
|
| - .SetMethod("grantWebNotificationPermission",
|
| - &TestRunnerBindings::GrantWebNotificationPermission)
|
| - .SetMethod("clearWebNotificationPermissions",
|
| - &TestRunnerBindings::ClearWebNotificationPermissions)
|
| .SetMethod("simulateWebNotificationClick",
|
| &TestRunnerBindings::SimulateWebNotificationClick)
|
| .SetMethod("addMockSpeechRecognitionResult",
|
| @@ -1326,12 +1320,6 @@ void TestRunnerBindings::SetMIDIAccessorResult(bool result) {
|
| runner_->SetMIDIAccessorResult(result);
|
| }
|
|
|
| -void TestRunnerBindings::GrantWebNotificationPermission(gin::Arguments* args) {
|
| -}
|
| -
|
| -void TestRunnerBindings::ClearWebNotificationPermissions() {
|
| -}
|
| -
|
| void TestRunnerBindings::SimulateWebNotificationClick(
|
| const std::string& title) {
|
| if (runner_)
|
|
|