diff options
author | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-11 23:30:20 +0000 |
---|---|---|
committer | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-11 23:30:20 +0000 |
commit | 27880fce23eeb00b6c60ca36dfd91aa39f606b1b (patch) | |
tree | 1c72564399a8815db6f86e81866b993e5713414d /chrome/browser/cocoa/info_bubble_window.h | |
parent | 407de99c16b61413193265bf09bb01b87081596b (diff) | |
download | chromium_src-27880fce23eeb00b6c60ca36dfd91aa39f606b1b.zip chromium_src-27880fce23eeb00b6c60ca36dfd91aa39f606b1b.tar.gz chromium_src-27880fce23eeb00b6c60ca36dfd91aa39f606b1b.tar.bz2 |
[Mac] Properly cleans up any open info bubble popup windows upon app shutdown.
BUG=37717
TEST=none
Review URL: http://codereview.chromium.org/863005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41345 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/info_bubble_window.h')
-rw-r--r-- | chrome/browser/cocoa/info_bubble_window.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/info_bubble_window.h b/chrome/browser/cocoa/info_bubble_window.h index 837b87f..e5052c7 100644 --- a/chrome/browser/cocoa/info_bubble_window.h +++ b/chrome/browser/cocoa/info_bubble_window.h @@ -4,8 +4,11 @@ #import <Cocoa/Cocoa.h> +#include "base/scoped_ptr.h" #import "chrome/browser/cocoa/chrome_event_processing_window.h" +class AppNotificationBridge; + // A rounded window with an arrow used for example when you click on the STAR // button or that pops up within our first-run UI. @interface InfoBubbleWindow : ChromeEventProcessingWindow { @@ -15,6 +18,8 @@ // If NO the window will close immediately instead of fading out. // Default YES. BOOL delayOnClose_; + // Bridge to proxy Chrome notifications to the window. + scoped_ptr<AppNotificationBridge> notificationBridge_; } // Returns YES if the window is in the process of closing. |