diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-08 21:02:36 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-08 21:02:36 +0000 |
commit | 34f8fee20dd1c07adcb4960310dd1f387d7b7bf3 (patch) | |
tree | 4d69c8742f0bc52889f19dd8fc7f14dbe86947b1 /chrome/browser/cocoa/browser_window_controller.h | |
parent | 9ab71d1832cb2651d60769aa263f5fc086a0b6be (diff) | |
download | chromium_src-34f8fee20dd1c07adcb4960310dd1f387d7b7bf3.zip chromium_src-34f8fee20dd1c07adcb4960310dd1f387d7b7bf3.tar.gz chromium_src-34f8fee20dd1c07adcb4960310dd1f387d7b7bf3.tar.bz2 |
Mac: Resize status bubble when window is resized.
BUG=22956
TEST=Load a (slow-loading) web site so that a status bubble will appear and be visible for a while. While the status bubble is visible, resize the window. The status bubble should move and/or resize appropriately.
Review URL: http://codereview.chromium.org/266018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28448 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/browser_window_controller.h')
-rw-r--r-- | chrome/browser/cocoa/browser_window_controller.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/cocoa/browser_window_controller.h b/chrome/browser/cocoa/browser_window_controller.h index 0bd84e9..da08d45 100644 --- a/chrome/browser/cocoa/browser_window_controller.h +++ b/chrome/browser/cocoa/browser_window_controller.h @@ -31,7 +31,7 @@ class ConstrainedWindowMac; @class GTMWindowSheetController; @class InfoBarContainerController; class LocationBar; -class StatusBubble; +class StatusBubbleMac; class TabContents; @class TabContentsController; @class TabStripController; @@ -65,7 +65,7 @@ class TabStripModelObserverBridge; scoped_nsobject<TabStripController> tabStripController_; scoped_nsobject<FindBarCocoaController> findBarCocoaController_; scoped_nsobject<InfoBarContainerController> infoBarContainerController_; - scoped_ptr<StatusBubble> statusBubble_; + scoped_ptr<StatusBubbleMac> statusBubble_; scoped_nsobject<DownloadShelfController> downloadShelfController_; scoped_nsobject<ExtensionShelfController> extensionShelfController_; scoped_nsobject<BookmarkBarController> bookmarkBarController_; @@ -91,7 +91,7 @@ class TabStripModelObserverBridge; - (LocationBar*)locationBar; // Access the C++ bridge object representing the status bubble for the window. -- (StatusBubble*)statusBubble; +- (StatusBubbleMac*)statusBubble; // Updates the toolbar (and transitively the location bar) with the states of // the specified |tab|. If |shouldRestore| is true, we're switching @@ -156,6 +156,9 @@ class TabStripModelObserverBridge; - (void)attachConstrainedWindow:(ConstrainedWindowMac*)window; - (void)removeConstrainedWindow:(ConstrainedWindowMac*)window; +// Delegate method called when window is resized. +- (void)windowDidResize:(NSNotification*)notification; + @end |