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

Unified Diff: ash/test/ash_test_base.cc

Issue 2872343003: Remove InputMethodEventHandler. (Closed)
Patch Set: Add a unittest. 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/test/ash_test_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index 2c22ca48476a739fcd36ce4335b4e56900e445e8..9c7321b38f8cce2326ce0e4de790b8be4a37c2f4 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -11,7 +11,6 @@
#include "ash/display/mouse_cursor_event_filter.h"
#include "ash/display/unified_mouse_warp_controller.h"
#include "ash/display/window_tree_host_manager.h"
-#include "ash/ime/input_method_event_handler.h"
#include "ash/mus/top_level_window_factory.h"
#include "ash/mus/window_manager.h"
#include "ash/mus/window_manager_application.h"
@@ -453,16 +452,6 @@ void AshTestBase::UnblockUserSession() {
GetSessionControllerClient()->UnlockScreen();
}
-void AshTestBase::DisableIME() {
- // WindowTreeHostManager isn't applicable to mash and IME is routed
- // differently in mash.
- if (Shell::GetAshConfig() == Config::MASH)
- return;
-
- Shell::Get()->RemovePreTargetHandler(
- Shell::Get()->window_tree_host_manager()->input_method_event_handler());
-}
-
display::DisplayManager* AshTestBase::display_manager() {
return Shell::Get()->display_manager();
}

Powered by Google App Engine
This is Rietveld 408576698