summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui
diff options
context:
space:
mode:
authorjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-01 19:12:08 +0000
committerjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-01 19:12:08 +0000
commitad085262f5203816bd8949720e3df9aba9147b4e (patch)
treed76dbf918180412b39344dc7904e5856dcdd6f9b /chrome/browser/ui
parentc2cf2243677d31650ae29e3fdb51fa7949514383 (diff)
downloadchromium_src-ad085262f5203816bd8949720e3df9aba9147b4e.zip
chromium_src-ad085262f5203816bd8949720e3df9aba9147b4e.tar.gz
chromium_src-ad085262f5203816bd8949720e3df9aba9147b4e.tar.bz2
Listen for APP_TERMINATING in notification ui; close windows earlier in the process before they get clobbered by browser_shutdown leading to a potential double-close.
BUG=58053 TEST=exit chrome with notifications open Review URL: http://codereview.chromium.org/5319011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67883 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui')
-rw-r--r--chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm b/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm
index 6cedbd4..a63a327 100644
--- a/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm
@@ -32,6 +32,7 @@ class MockBalloonCollection : public BalloonCollection {
Profile* profile) {}
virtual bool RemoveById(const std::string& id) { return false; }
virtual bool RemoveBySourceOrigin(const GURL& origin) { return false; }
+ virtual void RemoveAll() {}
virtual bool HasSpace() const { return true; }
virtual void ResizeBalloon(Balloon* balloon, const gfx::Size& size) {};
virtual void DisplayChanged() {}