Chromium Code Reviews| 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..7ef7e3682f5c40931e5e42846576d443b43d20d4 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" |
| @@ -117,11 +116,7 @@ void AshWindowTreeHostPlatform::DispatchEvent(ui::Event* 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; |
| + return SendEventToSink(event); |
|
sadrul
2017/05/15 14:44:24
Do you still need this override?
Hadi
2017/05/15 17:22:13
Done.
|
| } |
| void AshWindowTreeHostPlatform::SetTapToClickPaused(bool state) { |