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

Unified Diff: ash/mus/ash_window_tree_host_mus.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/mus/ash_window_tree_host_mus.h ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/ash_window_tree_host_mus.cc
diff --git a/ash/mus/ash_window_tree_host_mus.cc b/ash/mus/ash_window_tree_host_mus.cc
index 7c10818a2cb53502302e5b63d78e7964aa72d2ac..b5c2deaad92134708631acc2ca13a74c68a0d57d 100644
--- a/ash/mus/ash_window_tree_host_mus.cc
+++ b/ash/mus/ash_window_tree_host_mus.cc
@@ -6,7 +6,6 @@
#include "ash/host/root_window_transformer.h"
#include "ash/host/transformer_helper.h"
-#include "ash/ime/input_method_event_handler.h"
#include "base/memory/ptr_util.h"
#include "ui/aura/mus/window_tree_host_mus_init_params.h"
#include "ui/aura/window.h"
@@ -86,15 +85,4 @@ void AshWindowTreeHostMus::UpdateRootWindowSizeInPixels(
transformer_helper_->UpdateWindowSize(host_size_in_pixels);
}
-ui::EventDispatchDetails AshWindowTreeHostMus::DispatchKeyEventPostIME(
- ui::KeyEvent* event) {
- // input_method_handler() can be null when using IME service with --mus.
- if (input_method_handler())
- input_method_handler()->SetPostIME(true);
- ui::EventDispatchDetails details = SendEventToSink(event);
- if (input_method_handler() && !details.dispatcher_destroyed)
- input_method_handler()->SetPostIME(false);
- return details;
-}
-
} // namespace ash
« no previous file with comments | « ash/mus/ash_window_tree_host_mus.h ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698