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

Unified Diff: chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc

Issue 442583002: Change document.title used for keyboard overlay (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
Index: chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc b/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
index 63a36add07f8b644c1f092fb6e70f56bc3a09824..57667af5fd5339acf1f693a7c04f31d8c311326b 100644
--- a/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
@@ -56,9 +56,9 @@ KeyboardHandler::~KeyboardHandler() {
void KeyboardHandler::GetLocalizedValues(
base::DictionaryValue* localized_strings) {
DCHECK(localized_strings);
+ RegisterTitle(localized_strings, "keyboardOverlay",
+ IDS_OPTIONS_KEYBOARD_OVERLAY_TITLE);
- localized_strings->SetString("keyboardOverlayTitle",
- l10n_util::GetStringUTF16(IDS_OPTIONS_KEYBOARD_OVERLAY_TITLE));
localized_strings->SetString("remapSearchKeyToContent",
l10n_util::GetStringUTF16(
IDS_OPTIONS_SETTINGS_LANGUAGES_KEY_SEARCH_LABEL));

Powered by Google App Engine
This is Rietveld 408576698