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

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

Issue 1056633003: Remove TestRunner notifications permissions calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@layout_tests_notifications_permissions
Patch Set: Created 5 years, 8 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 | « no previous file | 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 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_)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698