summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc')
-rw-r--r--chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc b/chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc
index b21a5bf..7ec8b6f 100644
--- a/chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc
+++ b/chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc
@@ -125,8 +125,11 @@ IN_PROC_BROWSER_TEST_F(ModeIndicatorBrowserTest, Bounds) {
InputMethodManager* imm = InputMethodManager::Get();
ASSERT_TRUE(imm);
+ std::vector<std::string> keyboard_layouts;
+ keyboard_layouts.push_back("xkb:fr::fra");
+
// Add keyboard layouts to enable the mode indicator.
- imm->EnableLoginLayouts("fr", "xkb:fr::fra");
+ imm->EnableLoginLayouts("fr", keyboard_layouts);
ASSERT_LT(1UL, imm->GetNumActiveInputMethods());
chromeos::IBusPanelCandidateWindowHandlerInterface* candidate_window =
@@ -189,8 +192,11 @@ IN_PROC_BROWSER_TEST_F(ModeIndicatorBrowserTest, NumOfWidgets) {
InputMethodManager* imm = InputMethodManager::Get();
ASSERT_TRUE(imm);
+ std::vector<std::string> keyboard_layouts;
+ keyboard_layouts.push_back("xkb:fr::fra");
+
// Add keyboard layouts to enable the mode indicator.
- imm->EnableLoginLayouts("fr", "xkb:fr::fra");
+ imm->EnableLoginLayouts("fr", keyboard_layouts);
ASSERT_LT(1UL, imm->GetNumActiveInputMethods());
chromeos::IBusPanelCandidateWindowHandlerInterface* candidate_window =