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

Unified Diff: ash/test/test_system_tray_delegate.cc

Issue 1996563002: Add ImeMenuTray element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: ash/test/test_system_tray_delegate.cc
diff --git a/ash/test/test_system_tray_delegate.cc b/ash/test/test_system_tray_delegate.cc
index 9c06c0627b6e73443a645db1b432ade04f2556d0..876ce96f4222ea8f91e1c568f4acbe267134081c 100644
--- a/ash/test/test_system_tray_delegate.cc
+++ b/ash/test/test_system_tray_delegate.cc
@@ -110,5 +110,17 @@ void TestSystemTrayDelegate::SignOut() {
base::MessageLoop::current()->QuitWhenIdle();
}
+void TestSystemTrayDelegate::GetCurrentIME(IMEInfo* info) {
+ info->id = current_ime_.id;
+ info->name = current_ime_.name;
+ info->medium_name = current_ime_.medium_name;
+ info->short_name = current_ime_.short_name;
+ info->third_party = current_ime_.third_party;
+}
+
+void TestSystemTrayDelegate::SetCurrentIME(IMEInfo info) {
+ current_ime_ = info;
+}
+
} // namespace test
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698