| Index: views/ime/input_method.h
|
| diff --git a/views/ime/input_method.h b/views/ime/input_method.h
|
| index 918d78c031d802ad2fd634138802dcf48b2ac5e7..83e42a1119922115ab21890d6de0f1c00221caea 100644
|
| --- a/views/ime/input_method.h
|
| +++ b/views/ime/input_method.h
|
| @@ -57,7 +57,8 @@ class InputMethod {
|
| // it's processed by the input method. It should only be called by the
|
| // top-level NativeWidget which owns this InputMethod instance, or other
|
| // related platform dependent code, such as a message dispatcher.
|
| - virtual void DispatchKeyEvent(const KeyEvent& key) = 0;
|
| + // Returns true if the event was handled, or no further handling is required.
|
| + virtual bool OnKeyEvent(const KeyEvent& key) = 0;
|
|
|
| // Called by the focused |view| whenever its text input type is changed.
|
| // Before calling this method, the focused |view| must confirm or clear
|
|
|