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 9956999e2fdf153f611a61fb85c7651326a27e20..24f0f5df9657168f014d1aa11cdd2840397cdd11 100644 |
--- a/chrome/browser/ui/panels/panel_window_controller_cocoa.h |
+++ b/chrome/browser/ui/panels/panel_window_controller_cocoa.h |
@@ -12,8 +12,10 @@ |
#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/browser_command_executor.h" |
+#import "chrome/browser/ui/cocoa/themed_window.h" |
@class FindBarCocoaController; |
class PanelBrowserWindowCocoa; |
@@ -24,11 +26,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; |
@@ -42,6 +49,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; |