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

Unified Diff: ash/host/ash_window_tree_host_platform.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_platform.h ('k') | ash/host/ash_window_tree_host_unified.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host_platform.cc
diff --git a/ash/host/ash_window_tree_host_platform.cc b/ash/host/ash_window_tree_host_platform.cc
index 9da128d74cc535c15bae69bc6b61d63210e2b1ed..932e6b60a0014e10313a1a85a9e8b86a4b155c2c 100644
--- a/ash/host/ash_window_tree_host_platform.cc
+++ b/ash/host/ash_window_tree_host_platform.cc
@@ -8,7 +8,6 @@
#include "ash/host/root_window_transformer.h"
#include "ash/host/transformer_helper.h"
-#include "ash/ime/input_method_event_handler.h"
#include "base/trace_event/trace_event.h"
#include "ui/aura/window.h"
#include "ui/aura/window_tree_host_platform.h"
@@ -115,15 +114,6 @@ void AshWindowTreeHostPlatform::DispatchEvent(ui::Event* event) {
SendEventToSink(event);
}
-ui::EventDispatchDetails AshWindowTreeHostPlatform::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 AshWindowTreeHostPlatform::SetTapToClickPaused(bool state) {
#if defined(USE_OZONE)
DCHECK(ui::OzonePlatform::GetInstance()->GetInputController());
« no previous file with comments | « ash/host/ash_window_tree_host_platform.h ('k') | ash/host/ash_window_tree_host_unified.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698