| Index: chrome/browser/ui/cocoa/framed_browser_window.h
|
| diff --git a/chrome/browser/ui/cocoa/framed_browser_window.h b/chrome/browser/ui/cocoa/framed_browser_window.h
|
| index 3c9a6ba0889d77b3b23e912850c5b6df7a90fac1..5c596480c767ef834f79d65d204ce4528ed9d777 100644
|
| --- a/chrome/browser/ui/cocoa/framed_browser_window.h
|
| +++ b/chrome/browser/ui/cocoa/framed_browser_window.h
|
| @@ -25,6 +25,7 @@ const NSInteger kFramedWindowButtonsWithoutTabStripOffsetFromLeft = 8;
|
| // this. We also handle our own window controls and custom window frame drawing.
|
| @interface FramedBrowserWindow : ChromeBrowserWindow {
|
| @private
|
| + // Only used from 10.6-10.9.
|
| BOOL shouldHideTitle_;
|
| BOOL hasTabStrip_;
|
| NSButton* closeButton_;
|
| @@ -66,10 +67,9 @@ const NSInteger kFramedWindowButtonsWithoutTabStripOffsetFromLeft = 8;
|
|
|
| @interface NSWindow (UndocumentedAPI)
|
|
|
| -// Undocumented Cocoa API to suppress drawing of the window's title.
|
| -// -setTitle: still works, but the title set only applies to the
|
| -// miniwindow and menus (and, importantly, Expose). Overridden to
|
| -// return |shouldHideTitle_|.
|
| +// Undocumented Cocoa API (10.6-10.9) to suppress drawing of the window's title.
|
| +// -setTitle: still works, but the title set only applies to the miniwindow and
|
| +// menus (and, importantly, Expose). Overridden to return |shouldHideTitle_|.
|
| -(BOOL)_isTitleHidden;
|
|
|
| @end
|
|
|