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

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

Issue 218623015: [IME] InputMethodUtil should cache the hardware layouts from VPD, instead of the filtered hardware … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed test failures. Created 6 years, 9 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/oobe_localization_browsertest.cc
diff --git a/chrome/browser/chromeos/login/oobe_localization_browsertest.cc b/chrome/browser/chromeos/login/oobe_localization_browsertest.cc
index 27a37fbd76323ad9e9d6874ee3529a232ec1dcc6..7a6a64b45fcaa93536b74c06bc01a629470dce81 100644
--- a/chrome/browser/chromeos/login/oobe_localization_browsertest.cc
+++ b/chrome/browser/chromeos/login/oobe_localization_browsertest.cc
@@ -225,6 +225,9 @@ void OobeLocalizationTest::RunLocalizationTest(
StartupCustomizationDocument::GetInstance()->Init(
statistics_provider_.get());
+ g_browser_process->local_state()->SetString(
+ prefs::kHardwareKeyboardLayout, keyboard_layout);
+
input_method::InputMethodManager::Get()
->GetInputMethodUtil()
->InitXkbInputMethodsForTesting();

Powered by Google App Engine
This is Rietveld 408576698