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

Unified Diff: services/ui/ime/test_ime_driver/test_ime_driver.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/test_ime_driver/test_ime_driver.h ('k') | services/ui/public/interfaces/ime/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ime/test_ime_driver/test_ime_driver.cc
diff --git a/services/ui/ime/test_ime_driver/test_ime_driver.cc b/services/ui/ime/test_ime_driver/test_ime_driver.cc
index 50036400c5dc2498501629ad9c7dc0fe7f567b9a..613d103e2504daac162d76f98bc0bfdcff8bafeb 100644
--- a/services/ui/ime/test_ime_driver/test_ime_driver.cc
+++ b/services/ui/ime/test_ime_driver/test_ime_driver.cc
@@ -41,14 +41,12 @@ TestIMEDriver::TestIMEDriver() {}
TestIMEDriver::~TestIMEDriver() {}
-void TestIMEDriver::StartSession(
- int32_t session_id,
- mojom::TextInputClientPtr client,
- mojom::InputMethodRequest input_method_request) {
+void TestIMEDriver::StartSession(int32_t session_id,
+ mojom::StartSessionDetailsPtr details) {
input_method_bindings_[session_id].reset(
new mojo::Binding<mojom::InputMethod>(
- new TestInputMethod(std::move(client)),
- std::move(input_method_request)));
+ new TestInputMethod(std::move(details->client)),
+ std::move(details->input_method_request)));
}
void TestIMEDriver::CancelSession(int32_t session_id) {
« no previous file with comments | « services/ui/ime/test_ime_driver/test_ime_driver.h ('k') | services/ui/public/interfaces/ime/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698