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

Unified Diff: Source/testing/runner/NotificationPresenter.h

Issue 22852029: Add testRunner.cancelAllActiveNotifications to close all active notifications. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rename Created 7 years, 4 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 | Source/testing/runner/NotificationPresenter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/testing/runner/NotificationPresenter.h
diff --git a/Source/testing/runner/NotificationPresenter.h b/Source/testing/runner/NotificationPresenter.h
index 867eb813c385deb164c7c6dfbbf08dc36c86f914..837554b57c4bc05fec32870d77f69cb1ce5d08fd 100644
--- a/Source/testing/runner/NotificationPresenter.h
+++ b/Source/testing/runner/NotificationPresenter.h
@@ -55,6 +55,9 @@ public:
// Called by the TestRunner to simulate a user clicking on a notification.
bool simulateClick(const WebKit::WebString& notificationIdentifier);
+ // Called by the TestRunner to cancel all active notications.
+ void cancelAllActiveNotifications();
+
// WebKit::WebNotificationPresenter interface
virtual bool show(const WebKit::WebNotification&);
virtual void cancel(const WebKit::WebNotification&);
« no previous file with comments | « no previous file | Source/testing/runner/NotificationPresenter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698