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

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

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.cc
===================================================================
--- chrome/browser/notifications/balloon_collection.cc (revision 67750)
+++ chrome/browser/notifications/balloon_collection.cc (working copy)
@@ -82,6 +82,10 @@
return base_.CloseAllBySourceOrigin(origin);
}
+void BalloonCollectionImpl::RemoveAll() {
+ base_.CloseAll();
+}
+
bool BalloonCollectionImpl::HasSpace() const {
int count = base_.count();
if (count < kMinAllowedBalloonCount)

Powered by Google App Engine
This is Rietveld 408576698