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

Unified Diff: ui/views/mus/text_input_client_impl.cc

Issue 2412593002: IME for Mus: Send ack for key events after IME driver processes the event. (Closed)
Patch Set: Addressed feedback. Created 4 years, 2 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/views/mus/text_input_client_impl.h ('k') | ui/views/mus/window_tree_host_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/text_input_client_impl.cc
diff --git a/ui/views/mus/text_input_client_impl.cc b/ui/views/mus/text_input_client_impl.cc
index 59b4b995c6633d4a1d1a5ab68d489f2f90bb50df..2503b7fe99355e89030002001347af50e7e40f4c 100644
--- a/ui/views/mus/text_input_client_impl.cc
+++ b/ui/views/mus/text_input_client_impl.cc
@@ -9,11 +9,8 @@
namespace views {
-TextInputClientImpl::TextInputClientImpl(ui::TextInputClient* text_input_client,
- InputMethodMus* input_method)
- : text_input_client_(text_input_client),
- input_method_(input_method),
- binding_(this) {}
+TextInputClientImpl::TextInputClientImpl(ui::TextInputClient* text_input_client)
+ : text_input_client_(text_input_client), binding_(this) {}
TextInputClientImpl::~TextInputClientImpl() {}
@@ -46,10 +43,4 @@ void TextInputClientImpl::OnCompositionEvent(
}
}
-void TextInputClientImpl::OnUnhandledEvent(
- std::unique_ptr<ui::Event> key_event) {
- DCHECK(key_event && key_event->IsKeyEvent());
- input_method_->DispatchKeyEventPostIME(key_event->AsKeyEvent());
-}
-
} // namespace views
« no previous file with comments | « ui/views/mus/text_input_client_impl.h ('k') | ui/views/mus/window_tree_host_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698