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

Unified Diff: ash/display/window_tree_host_manager.cc

Issue 2872343003: Remove InputMethodEventHandler. (Closed)
Patch Set: cleanup. 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
Index: ash/display/window_tree_host_manager.cc
diff --git a/ash/display/window_tree_host_manager.cc b/ash/display/window_tree_host_manager.cc
index 358804ac0280a7b0ccecc20b30e24cb3c0b74b49..4aa235c9817fe2af3219488fa1da3a2ed56680ee 100644
--- a/ash/display/window_tree_host_manager.cc
+++ b/ash/display/window_tree_host_manager.cc
@@ -17,7 +17,6 @@
#include "ash/host/ash_window_tree_host.h"
#include "ash/host/ash_window_tree_host_init_params.h"
#include "ash/host/root_window_transformer.h"
-#include "ash/ime/input_method_event_handler.h"
#include "ash/magnifier/magnification_controller.h"
#include "ash/magnifier/partial_magnification_controller.h"
#include "ash/public/cpp/config.h"
@@ -834,11 +833,8 @@ AshWindowTreeHost* WindowTreeHostManager::AddWindowTreeHostForDisplay(
// Ash uses singleton InputMethod and it won't call OnFocus/OnBlur when
// the active window changed.
input_method_->OnFocus();
- input_method_event_handler_.reset(
- new InputMethodEventHandler(input_method_.get()));
}
host->SetSharedInputMethod(input_method_.get());
- ash_host->set_input_method_handler(input_method_event_handler_.get());
}
host->window()->SetName(base::StringPrintf(

Powered by Google App Engine
This is Rietveld 408576698