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

Unified Diff: chrome/browser/notifications/balloon_collection.h

Issue 5319011: Listen for APP_TERMINATING in notification ui; close windows earlier in the p... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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: chrome/browser/notifications/balloon_collection.h
===================================================================
--- chrome/browser/notifications/balloon_collection.h (revision 67750)
+++ chrome/browser/notifications/balloon_collection.h (working copy)
@@ -54,6 +54,9 @@
// true if anything was removed.
virtual bool RemoveBySourceOrigin(const GURL& source_origin) = 0;
+ // Removes all balloons.
+ virtual void RemoveAll() = 0;
+
// Is there room to add another notification?
virtual bool HasSpace() const = 0;

Powered by Google App Engine
This is Rietveld 408576698