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

Unified Diff: ui/aura/mus/input_method_mus.cc

Issue 2945283002: Unify IMEDriver and IMEServer. (Closed)
Patch Set: Addressed feedback. Created 3 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
« no previous file with comments | « ui/aura/mus/input_method_mus.h ('k') | ui/aura/test/mus/input_method_mus_test_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/input_method_mus.cc
diff --git a/ui/aura/mus/input_method_mus.cc b/ui/aura/mus/input_method_mus.cc
index c67c2228856e50ebafc545105de9f43de899ebb0..8fd69278538134dee9438967bda1e51a5e2f6550 100644
--- a/ui/aura/mus/input_method_mus.cc
+++ b/ui/aura/mus/input_method_mus.cc
@@ -40,7 +40,7 @@ InputMethodMus::~InputMethodMus() {
void InputMethodMus::Init(service_manager::Connector* connector) {
if (connector)
- connector->BindInterface(ui::mojom::kServiceName, &ime_server_);
+ connector->BindInterface(ui::mojom::kServiceName, &ime_driver_);
}
void InputMethodMus::DispatchKeyEvent(
@@ -156,7 +156,7 @@ void InputMethodMus::OnDidChangeFocusedClient(
// else mus won't process the next event immediately.
AckPendingCallbacksUnhandled();
- if (ime_server_) {
+ if (ime_driver_) {
ui::mojom::StartSessionDetailsPtr details =
ui::mojom::StartSessionDetails::New();
details->client = text_input_client_->CreateInterfacePtrAndBind();
@@ -167,7 +167,7 @@ void InputMethodMus::OnDidChangeFocusedClient(
details->text_direction = focused->GetTextDirection();
details->text_input_flags = focused->GetTextInputFlags();
details->caret_bounds = focused->GetCaretBounds();
- ime_server_->StartSession(std::move(details));
+ ime_driver_->StartSession(std::move(details));
}
}
« no previous file with comments | « ui/aura/mus/input_method_mus.h ('k') | ui/aura/test/mus/input_method_mus_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698