Index: ui/base/ime/input_method.h |
=================================================================== |
--- ui/base/ime/input_method.h (revision 162597) |
+++ ui/base/ime/input_method.h (working copy) |
@@ -20,6 +20,7 @@ |
class InputMethodDelegate; |
} // namespace internal |
+class KeyEvent; |
class TextInputClient; |
// An interface implemented by an object that encapsulates a native input method |
@@ -79,6 +80,7 @@ |
virtual void DispatchKeyEvent(const base::NativeEvent& native_key_event) = 0; |
// TODO(yusukes): Add DispatchFabricatedKeyEvent to support virtual keyboards. |
+ virtual void DispatchFabricatedKeyEvent(const ui::KeyEvent& event) = 0; |
// Called by the focused client whenever its text input type is changed. |
// Before calling this method, the focused client must confirm or clear |