| Index: ui/base/ime/text_input_client.h
|
| diff --git a/ui/base/ime/text_input_client.h b/ui/base/ime/text_input_client.h
|
| index 19c602cd8e3c8c506ce9227bd5bb0dac3bb43df2..6de04d7e5ecfc2b56022ffbd8e5aa1005e7b0678 100644
|
| --- a/ui/base/ime/text_input_client.h
|
| +++ b/ui/base/ime/text_input_client.h
|
| @@ -21,6 +21,8 @@ class Rect;
|
|
|
| namespace ui {
|
|
|
| +class KeyEvent;
|
| +
|
| // An interface implemented by a View that needs text input support.
|
| class UI_BASE_IME_EXPORT TextInputClient {
|
| public:
|
| @@ -176,6 +178,10 @@ class UI_BASE_IME_EXPORT TextInputClient {
|
| virtual bool IsEditingCommandEnabled(int command_id) = 0;
|
| // Execute the command specified by |command_id|.
|
| virtual void ExecuteEditingCommand(int command_id) = 0;
|
| +
|
| + // Called in response to a KeyEvent before it is translated into an insert or
|
| + // editing command. Return true if |key_event| shouldn't be further processed.
|
| + virtual bool HandleAsKeyEventOnly(const ui::KeyEvent& key_event) = 0;
|
| };
|
|
|
| } // namespace ui
|
|
|