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

Unified Diff: chrome/browser/cocoa/browser_window_controller.h

Issue 266018: Mac: Resize status bubble when window is resized. (Closed)
Patch Set: Updated per Avi's comments (more or less). Created 11 years, 2 months 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/cocoa/browser_window_controller.h
diff --git a/chrome/browser/cocoa/browser_window_controller.h b/chrome/browser/cocoa/browser_window_controller.h
index 76223de166e8047bfb6885ed3f8c9f3ba2180366..917b12def088aeafa8d75502c16b91cc1ed5c90b 100644
--- a/chrome/browser/cocoa/browser_window_controller.h
+++ b/chrome/browser/cocoa/browser_window_controller.h
@@ -30,7 +30,7 @@ class ConstrainedWindowMac;
@class GTMWindowSheetController;
@class InfoBarContainerController;
class LocationBar;
-class StatusBubble;
+class StatusBubbleMac;
class TabContents;
@class TabContentsController;
@class TabStripController;
@@ -64,7 +64,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_;
@@ -90,7 +90,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
@@ -155,6 +155,9 @@ class TabStripModelObserverBridge;
- (void)attachConstrainedWindow:(ConstrainedWindowMac*)window;
- (void)removeConstrainedWindow:(ConstrainedWindowMac*)window;
+// Delegate method called when window is resized.
+- (void)windowDidResize:(NSNotification*)notification;
+
@end

Powered by Google App Engine
This is Rietveld 408576698