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

Unified Diff: chrome/browser/chromeos/input_method/ibus_ui_controller_unittest.cc

Issue 10544070: Add decoration to the language button to indicate that a third party IME is in use (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests Created 8 years, 6 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/input_method/ibus_ui_controller_unittest.cc
diff --git a/chrome/browser/chromeos/input_method/ibus_ui_controller_unittest.cc b/chrome/browser/chromeos/input_method/ibus_ui_controller_unittest.cc
index b80ea227a1794542b091196b2782cc9da1f81e2d..d70ba2d793608d33d5a24a4a12de029c5e705ded 100644
--- a/chrome/browser/chromeos/input_method/ibus_ui_controller_unittest.cc
+++ b/chrome/browser/chromeos/input_method/ibus_ui_controller_unittest.cc
@@ -15,11 +15,12 @@ namespace input_method {
TEST(IBusUiControllerTest, TestIsActive) {
InputMethodDescriptors descriptors;
EXPECT_FALSE(IsActiveForTesting("mozc", &descriptors));
- descriptors.push_back(InputMethodDescriptor("mozc", "name", "us", "en-US"));
+ descriptors.push_back(
+ InputMethodDescriptor("mozc", "name", "us", "en-US", false));
EXPECT_TRUE(IsActiveForTesting("mozc", &descriptors));
EXPECT_FALSE(IsActiveForTesting("mozc-jp", &descriptors));
descriptors.push_back(
- InputMethodDescriptor("xkb:us::eng", "name", "us", "en-US"));
+ InputMethodDescriptor("xkb:us::eng", "name", "us", "en-US", false));
EXPECT_TRUE(IsActiveForTesting("xkb:us::eng", &descriptors));
EXPECT_TRUE(IsActiveForTesting("mozc", &descriptors));
EXPECT_FALSE(IsActiveForTesting("mozc-jp", &descriptors));
« no previous file with comments | « ash/system/tray/system_tray_delegate.cc ('k') | chrome/browser/chromeos/input_method/input_method_descriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698