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

Unified Diff: chrome/browser/cocoa/browser_window_cocoa.mm

Issue 259023: [Mac] Window titles for Expose. (Closed)
Patch Set: Fix unit_test expectations for Release. 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
« no previous file with comments | « chrome/browser/cocoa/browser_window.h ('k') | chrome/browser/cocoa/browser_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/browser_window_cocoa.mm
diff --git a/chrome/browser/cocoa/browser_window_cocoa.mm b/chrome/browser/cocoa/browser_window_cocoa.mm
index 33809adb83867e82f8fcd122dedfb4e41f9c6b87..f32e6b46e68af57e116c1152f5b09f96e727e32b 100644
--- a/chrome/browser/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/cocoa/browser_window_cocoa.mm
@@ -102,17 +102,7 @@ void BrowserWindowCocoa::UpdateTitleBar() {
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];
-
- // Dock
- [window_ setMiniwindowTitle:newTitle];
+ [window_ setTitle:newTitle];
}
void BrowserWindowCocoa::ShelfVisibilityChanged() {
« no previous file with comments | « chrome/browser/cocoa/browser_window.h ('k') | chrome/browser/cocoa/browser_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698