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

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

Issue 740543003: Remove the old Web Notification code-path (Chromium) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unittest references Created 6 years, 1 month 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
Index: content/shell/renderer/test_runner/test_runner.h
diff --git a/content/shell/renderer/test_runner/test_runner.h b/content/shell/renderer/test_runner/test_runner.h
index c71502205d93d109a865787bbb96a921203a4d17..7092bb9fd5480b57320c5ddc065caf9aaa60709b 100644
--- a/content/shell/renderer/test_runner/test_runner.h
+++ b/content/shell/renderer/test_runner/test_runner.h
@@ -20,7 +20,6 @@ class SkBitmap;
namespace blink {
class WebFrame;
-class WebNotificationPresenter;
class WebPermissionClient;
class WebString;
class WebView;
@@ -35,7 +34,6 @@ class Arguments;
namespace content {
class InvokeCallbackTask;
-class NotificationPresenter;
class TestInterfaces;
class TestPageOverlay;
class WebPermissions;
@@ -117,7 +115,6 @@ class TestRunner : public WebTestRunner,
bool policyDelegateShouldNotifyDone() const;
bool shouldInterceptPostMessage() const;
bool shouldDumpResourcePriorities() const;
- blink::WebNotificationPresenter* notification_presenter() const;
bool RequestPointerLock();
void RequestPointerUnlock();
bool isPointerLocked();
@@ -528,7 +525,7 @@ class TestRunner : public WebTestRunner,
// Clears all previously granted Web Notification permissions.
void ClearWebNotificationPermissions();
- // Simulates a click on a desktop notification.
+ // Simulates a click on a Web Notification.
void SimulateWebNotificationClick(const std::string& title);
// Speech recognition related functions.
@@ -770,8 +767,6 @@ class TestRunner : public WebTestRunner,
// WebPermissionClient mock object.
scoped_ptr<WebPermissions> web_permissions_;
- scoped_ptr<NotificationPresenter> notification_presenter_;
-
bool pointer_locked_;
enum {
PointerLockWillSucceed,
« no previous file with comments | « content/shell/renderer/test_runner/notification_presenter.cc ('k') | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698