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

Unified Diff: chrome/browser/chromeos/login/language_switch_menu.cc

Issue 3132023: Add language_prefs namespace to language_preferences.h. (Closed)
Patch Set: address comments Created 10 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/chromeos/login/language_switch_menu.cc
diff --git a/chrome/browser/chromeos/login/language_switch_menu.cc b/chrome/browser/chromeos/login/language_switch_menu.cc
index 884583b51ec1120db3f46fa7af508d3bf4432321..0c3521bf97e982d8262e3c6353177788de15adbc 100644
--- a/chrome/browser/chromeos/login/language_switch_menu.cc
+++ b/chrome/browser/chromeos/login/language_switch_menu.cc
@@ -99,9 +99,9 @@ void LanguageSwitchMenu::SwitchLanguage(const std::string& locale) {
ResourceBundle::ReloadSharedInstance(locale);
// Enable the keyboard layouts that are necessary for the new locale.
- chromeos::input_method::EnableInputMethods(
- locale, chromeos::input_method::kKeyboardLayoutsOnly,
- kHardwareKeyboardLayout);
+ input_method::EnableInputMethods(
+ locale, input_method::kKeyboardLayoutsOnly,
+ language_prefs::kHardwareKeyboardLayout);
// The following line does not seem to affect locale anyhow. Maybe in
// future..
« no previous file with comments | « chrome/browser/chromeos/language_preferences_unittest.cc ('k') | chrome/browser/chromeos/login/screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698