Index: chrome/browser/ui/panels/panel_window_controller_cocoa.h |
diff --git a/chrome/browser/ui/panels/panel_window_controller_cocoa.h b/chrome/browser/ui/panels/panel_window_controller_cocoa.h |
index 94df28d5650656d07b6fd555cb0caa9f7531de90..c9668d6f25edef1a38eb8292e30fc43ff1f9ea12 100644 |
--- a/chrome/browser/ui/panels/panel_window_controller_cocoa.h |
+++ b/chrome/browser/ui/panels/panel_window_controller_cocoa.h |
@@ -12,7 +12,9 @@ |
#import <Cocoa/Cocoa.h> |
#import "base/mac/cocoa_protocols.h" |
+#include "base/memory/scoped_nsobject.h" |
#include "base/memory/scoped_ptr.h" |
+#import "chrome/browser/ui/cocoa/themed_window.h" |
@class FindBarCocoaController; |
class PanelBrowserWindowCocoa; |
@@ -22,11 +24,16 @@ class PanelBrowserWindowCocoa; |
@private |
IBOutlet PanelTitlebarViewCocoa* titlebar_view_; |
scoped_ptr<PanelBrowserWindowCocoa> windowShim_; |
+ scoped_nsobject<NSString> pendingWindowTitle_; |
} |
// Load the browser window nib and do any Cocoa-specific initialization. |
- (id)initWithBrowserWindow:(PanelBrowserWindowCocoa*)window; |
+- (ui::ThemeProvider*)themeProvider; |
+- (ThemedWindowStyle)themedWindowStyle; |
+- (NSPoint)themePatternPhase; |
+ |
// Returns the TabContents' native view. It renders the content of the web page |
// in the Panel. |
- (NSView*)tabContentsView; |
@@ -40,6 +47,8 @@ class PanelBrowserWindowCocoa; |
// Shows the window for the first time. Only happens once. |
- (void)revealAnimatedWithFrame:(const NSRect&)frame; |
+- (void)updateTitleBar; |
+ |
// Adds the FindBar controller's view to this Panel. Must only be |
// called once per PanelWindowControllerCocoa. |
- (void)addFindBar:(FindBarCocoaController*)findBarCocoaController; |