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

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: Addressed feedback. 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
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 eab2b45ad0068612cf3db6a4235f4f34e130b09c..b94d1f47e02621b9c35fea79bc451b307793cf21 100644
--- a/services/ui/ime/test_ime_driver/test_ime_driver.cc
+++ b/services/ui/ime/test_ime_driver/test_ime_driver.cc
@@ -42,14 +42,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) {

Powered by Google App Engine
This is Rietveld 408576698