| Index: ui/base/ime/input_method_delegate.h
|
| diff --git a/ui/base/ime/input_method_delegate.h b/ui/base/ime/input_method_delegate.h
|
| index d64da926165f15f05b0bb873adae3441da46e4de..080a8f6f334836afccbd0978f738cd26ef55a9c7 100644
|
| --- a/ui/base/ime/input_method_delegate.h
|
| +++ b/ui/base/ime/input_method_delegate.h
|
| @@ -5,12 +5,12 @@
|
| #ifndef UI_BASE_IME_INPUT_METHOD_DELEGATE_H_
|
| #define UI_BASE_IME_INPUT_METHOD_DELEGATE_H_
|
|
|
| -#include "base/event_types.h"
|
| #include "ui/base/ui_base_export.h"
|
| -#include "ui/events/event_constants.h"
|
| -#include "ui/events/keycodes/keyboard_codes.h"
|
|
|
| namespace ui {
|
| +
|
| +class KeyEvent;
|
| +
|
| namespace internal {
|
|
|
| // An interface implemented by the object that handles events sent back from an
|
| @@ -21,13 +21,7 @@ class UI_BASE_EXPORT InputMethodDelegate {
|
|
|
| // Dispatch a key event already processed by the input method.
|
| // Returns true if the event was processed.
|
| - virtual bool DispatchKeyEventPostIME(
|
| - const base::NativeEvent& native_key_event) = 0;
|
| -
|
| - // TODO(komatsu): Unify this function to DispatchKeyEventPostIME.
|
| - virtual bool DispatchFabricatedKeyEventPostIME(ui::EventType type,
|
| - ui::KeyboardCode key_code,
|
| - int flags) = 0;
|
| + virtual bool DispatchKeyEventPostIME(const ui::KeyEvent& key_event) = 0;
|
| };
|
|
|
| } // namespace internal
|
|
|