Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index 502f6711a36b47b4cd47b6777052781ba28a627b..7e55fe8dae1bdbd089b28b617d81a48c4536711f 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -108,7 +108,6 @@ |
#include "ui/wm/core/accelerator_filter.h" |
#include "ui/wm/core/compound_event_filter.h" |
#include "ui/wm/core/focus_controller.h" |
-#include "ui/wm/core/input_method_event_filter.h" |
#include "ui/wm/core/nested_accelerator_controller.h" |
#include "ui/wm/core/shadow_controller.h" |
#include "ui/wm/core/visibility_controller.h" |
@@ -682,7 +681,6 @@ Shell::~Shell() { |
speech_feedback_handler_.reset(); |
#endif |
RemovePreTargetHandler(overlay_filter_.get()); |
- RemovePreTargetHandler(input_method_filter_.get()); |
RemovePreTargetHandler(accelerator_filter_.get()); |
RemovePreTargetHandler(event_transformation_handler_.get()); |
RemovePreTargetHandler(toplevel_window_event_handler_.get()); |
@@ -811,7 +809,7 @@ Shell::~Shell() { |
new_window_delegate_.reset(); |
media_delegate_.reset(); |
- keyboard::KeyboardController::ResetInstance(NULL); |
+ keyboard::KeyboardController::ResetInstance(nullptr); |
#if defined(OS_CHROMEOS) |
display_color_manager_.reset(); |
@@ -937,10 +935,6 @@ void Shell::Init(const ShellInitParams& init_params) { |
AddPreTargetHandler(overlay_filter_.get()); |
AddShellObserver(overlay_filter_.get()); |
- input_method_filter_.reset(new ::wm::InputMethodEventFilter( |
- root_window->GetHost()->GetAcceleratedWidget())); |
- AddPreTargetHandler(input_method_filter_.get()); |
- |
accelerator_filter_.reset(new ::wm::AcceleratorFilter( |
scoped_ptr< ::wm::AcceleratorDelegate>(new AcceleratorDelegate).Pass(), |
accelerator_controller_->accelerator_history())); |
@@ -1114,7 +1108,6 @@ void Shell::InitRootWindow(aura::Window* root_window) { |
DCHECK(drag_drop_controller_.get()); |
aura::client::SetFocusClient(root_window, focus_client_.get()); |
- input_method_filter_->SetInputMethodPropertyInRootWindow(root_window); |
aura::client::SetActivationClient(root_window, activation_client_); |
::wm::FocusController* focus_controller = |
static_cast< ::wm::FocusController*>(activation_client_); |