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

Unified Diff: chrome/browser/ui/ash/launcher/browser_status_monitor.cc

Issue 507003002: Set the shelf icon title explicitly for settings and task manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « ash/shelf/shelf_util.cc ('k') | chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/launcher/browser_status_monitor.cc
diff --git a/chrome/browser/ui/ash/launcher/browser_status_monitor.cc b/chrome/browser/ui/ash/launcher/browser_status_monitor.cc
index 17c3e0c1f63b5ece59cb9afce3570131459d030b..93f6ef12979aeebada000a1b12bd126319305821 100644
--- a/chrome/browser/ui/ash/launcher/browser_status_monitor.cc
+++ b/chrome/browser/ui/ash/launcher/browser_status_monitor.cc
@@ -21,8 +21,10 @@
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"
#include "grit/ash_resources.h"
+#include "grit/generated_resources.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
+#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/screen.h"
#include "ui/wm/public/activation_client.h"
@@ -84,7 +86,8 @@ class BrowserStatusMonitor::SettingsWindowObserver
virtual void OnNewSettingsWindow(Browser* settings_browser) OVERRIDE {
ash::SetShelfItemDetailsForDialogWindow(
settings_browser->window()->GetNativeWindow(),
- IDR_ASH_SHELF_ICON_SETTINGS);
+ IDR_ASH_SHELF_ICON_SETTINGS,
+ l10n_util::GetStringUTF16(IDS_SETTINGS_TITLE));
}
private:
« no previous file with comments | « ash/shelf/shelf_util.cc ('k') | chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698