| Index: ui/views/corewm/input_method_event_filter.h
|
| diff --git a/ui/views/corewm/input_method_event_filter.h b/ui/views/corewm/input_method_event_filter.h
|
| deleted file mode 100644
|
| index 8327bf19acfe6c95746fe5bf92b628f4ada36efb..0000000000000000000000000000000000000000
|
| --- a/ui/views/corewm/input_method_event_filter.h
|
| +++ /dev/null
|
| @@ -1,55 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef UI_VIEWS_COREWM_INPUT_METHOD_EVENT_FILTER_H_
|
| -#define UI_VIEWS_COREWM_INPUT_METHOD_EVENT_FILTER_H_
|
| -
|
| -#include "base/compiler_specific.h"
|
| -#include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| -#include "ui/base/ime/input_method_delegate.h"
|
| -#include "ui/events/event_handler.h"
|
| -#include "ui/gfx/native_widget_types.h"
|
| -#include "ui/views/views_export.h"
|
| -
|
| -namespace ui {
|
| -class EventProcessor;
|
| -class InputMethod;
|
| -}
|
| -
|
| -namespace views {
|
| -namespace corewm {
|
| -
|
| -// An event filter that forwards a KeyEvent to a system IME, and dispatches a
|
| -// TranslatedKeyEvent to the root window as needed.
|
| -class VIEWS_EXPORT InputMethodEventFilter
|
| - : public ui::EventHandler,
|
| - public ui::internal::InputMethodDelegate {
|
| - public:
|
| - explicit InputMethodEventFilter(gfx::AcceleratedWidget widget);
|
| - virtual ~InputMethodEventFilter();
|
| -
|
| - void SetInputMethodPropertyInRootWindow(aura::Window* root_window);
|
| -
|
| - ui::InputMethod* input_method() const { return input_method_.get(); }
|
| -
|
| - private:
|
| - // Overridden from ui::EventHandler:
|
| - virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
|
| -
|
| - // Overridden from ui::internal::InputMethodDelegate:
|
| - virtual bool DispatchKeyEventPostIME(const ui::KeyEvent& event) OVERRIDE;
|
| -
|
| - scoped_ptr<ui::InputMethod> input_method_;
|
| -
|
| - // The target dispatcher that will receive translated key events from the IME.
|
| - ui::EventProcessor* target_dispatcher_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(InputMethodEventFilter);
|
| -};
|
| -
|
| -} // namespace corewm
|
| -} // namespace views
|
| -
|
| -#endif // UI_VIEWS_COREWM_INPUT_METHOD_EVENT_FILTER_H_
|
|
|