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

Unified Diff: chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc

Issue 309623005: Remove the flag g_use_wrapped_extension_keyboard_layouts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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/extensions/input_method_apitest_chromeos.cc
diff --git a/chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc b/chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc
index 5ae87909d04f93c2bf17c2efe1c444080dec9dd5..5fa5e5bb56c6025e793fff45fdf9e0e70ad43fc1 100644
--- a/chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc
+++ b/chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc
@@ -58,7 +58,7 @@ class SetInputMethodListener : public content::NotificationObserver {
std::vector<std::string> keyboard_layouts;
keyboard_layouts.push_back(
- chromeos::extension_ime_util::GetInputMethodIDByKeyboardLayout(
+ chromeos::extension_ime_util::GetInputMethodIDByEngineID(
kInitialInputMethodOnLoginScreen));
manager->EnableLoginLayouts(kLoginScreenUILanguage, keyboard_layouts);
return;
@@ -68,7 +68,7 @@ class SetInputMethodListener : public content::NotificationObserver {
base::StringPrintf("%s:%s", kSetInputMethodMessage, kNewInputMethod);
if (content == expected_message) {
chromeos::input_method::InputMethodManager::Get()->ChangeInputMethod(
- chromeos::extension_ime_util::GetInputMethodIDByKeyboardLayout(
+ chromeos::extension_ime_util::GetInputMethodIDByEngineID(
base::StringPrintf("xkb:%s", kNewInputMethod)));
scoped_refptr<extensions::TestSendMessageFunction> function =

Powered by Google App Engine
This is Rietveld 408576698