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

Unified Diff: services/ui/ime/ime_unittest.cc

Issue 2626983003: IME for Mus: Send TextInputClient information to IMEDriver. (Closed)
Patch Set: fix mojo dependencies. Created 3 years, 11 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
« no previous file with comments | « services/ui/ime/ime_server_impl.cc ('k') | services/ui/ime/test_ime_driver/test_ime_driver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ime/ime_unittest.cc
diff --git a/services/ui/ime/ime_unittest.cc b/services/ui/ime/ime_unittest.cc
index 121cdc1383b41856532ad8ed97200dba89cb0738..582521ffc0bd9b37ff460445914527ea99674565 100644
--- a/services/ui/ime/ime_unittest.cc
+++ b/services/ui/ime/ime_unittest.cc
@@ -93,7 +93,11 @@ TEST_F(IMEAppTest, ProcessKeyEvent) {
TestTextInputClient client(MakeRequest(&client_ptr));
ui::mojom::InputMethodPtr input_method;
- ime_server_->StartSession(std::move(client_ptr), MakeRequest(&input_method));
+ ui::mojom::StartSessionDetailsPtr details =
+ ui::mojom::StartSessionDetails::New();
+ details->client = std::move(client_ptr);
+ details->input_method_request = MakeRequest(&input_method);
+ ime_server_->StartSession(std::move(details));
// Send character key event.
ui::KeyEvent char_event('A', ui::VKEY_A, 0);
« no previous file with comments | « services/ui/ime/ime_server_impl.cc ('k') | services/ui/ime/test_ime_driver/test_ime_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698