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

Unified Diff: chrome/browser/ui/browser.cc

Issue 2093963003: [ash-md] Uses 'Chrome - <title>' format for browser windows in overview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/app/google_chrome_strings.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 64ab742dcf3ab7a1e8945781e1bf59d60556fb78..64b5f471bb55c4253785577aac2a3d888676bf13 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -602,12 +602,11 @@ base::string16 Browser::GetWindowTitleForCurrentTab() const {
if (title.empty())
title = CoreTabHelper::GetDefaultTitle();
-#if defined(OS_MACOSX) || defined(USE_ASH)
- // On Mac and Ash, we don't want to suffix the page title with the application
- // name.
+#if defined(OS_MACOSX)
+ // On Mac, we don't want to suffix the page title with the application name.
return title;
#endif
- // Don't append the app name to window titles on app frames and app popups
+ // Don't append the app name to window titles on app frames and app popups.
return is_app() ?
title :
l10n_util::GetStringFUTF16(IDS_BROWSER_WINDOW_TITLE_FORMAT, title);
sky 2016/06/24 22:16:12 Won't this change effect more than just overview m
varkha 2016/06/24 23:15:32 My logic was: - The change is only on Chrome OS (t
« no previous file with comments | « chrome/app/google_chrome_strings.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698