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

Unified Diff: ash/host/ash_window_tree_host_x11.cc

Issue 2872343003: Remove InputMethodEventHandler. (Closed)
Patch Set: addressed feedback. Created 3 years, 7 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 | « ash/host/ash_window_tree_host_x11.h ('k') | ash/ime/input_method_event_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host_x11.cc
diff --git a/ash/host/ash_window_tree_host_x11.cc b/ash/host/ash_window_tree_host_x11.cc
index 6733d78f82ab8d4f494435ff6685c7c73c2b342e..73efb44b96602b3f7322edb05423962a757f9193 100644
--- a/ash/host/ash_window_tree_host_x11.cc
+++ b/ash/host/ash_window_tree_host_x11.cc
@@ -15,7 +15,6 @@
#include "ash/host/ash_window_tree_host_init_params.h"
#include "ash/host/ash_window_tree_host_unified.h"
#include "ash/host/root_window_transformer.h"
-#include "ash/ime/input_method_event_handler.h"
#include "base/sys_info.h"
#include "ui/aura/env.h"
#include "ui/aura/window.h"
@@ -213,15 +212,6 @@ void AshWindowTreeHostX11::TranslateAndDispatchLocatedEvent(
SendEventToSink(event);
}
-ui::EventDispatchDetails AshWindowTreeHostX11::DispatchKeyEventPostIME(
- ui::KeyEvent* event) {
- input_method_handler()->SetPostIME(true);
- ui::EventDispatchDetails details = event_sink()->OnEventFromSource(event);
- if (!details.dispatcher_destroyed)
- input_method_handler()->SetPostIME(false);
- return details;
-}
-
void AshWindowTreeHostX11::SetCrOSTapPaused(bool state) {
if (!ui::IsXInput2Available())
return;
« no previous file with comments | « ash/host/ash_window_tree_host_x11.h ('k') | ash/ime/input_method_event_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698