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

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

Issue 5581002: Merge 67883 - Listen for APP_TERMINATING in notification ui; close windows ea... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/597/src/
Patch Set: Created 10 years 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 68034)
+++ 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)
« no previous file with comments | « chrome/browser/notifications/balloon_collection.h ('k') | chrome/browser/notifications/balloon_collection_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698