| Index: chrome/browser/cocoa/browser_window_cocoa.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/browser_window_cocoa.mm (revision 26472)
|
| +++ chrome/browser/cocoa/browser_window_cocoa.mm (working copy)
|
| @@ -98,6 +98,12 @@
|
| NSString* newTitle =
|
| base::SysUTF16ToNSString(browser_->GetWindowTitleForCurrentTab());
|
|
|
| + // Only set the title if we're a popup window. If we call setTitle on a
|
| + // regular browser window, it will show up in the titlle bar and cover the
|
| + // tab strip.
|
| + if (browser_->type() == Browser::TYPE_POPUP)
|
| + [window_ setTitle:newTitle];
|
| +
|
| // Window menu
|
| [NSApp changeWindowsItem:window_ title:newTitle filename:NO];
|
|
|
|
|