| Index: ui/base/ime/input_method_auralinux.h
|
| diff --git a/ui/base/ime/input_method_auralinux.h b/ui/base/ime/input_method_auralinux.h
|
| index 7436ceab801755bfe4ca657df00fe1dcfb70f4c6..732d4340189cc05035c8e994c9b57b88ee04ecf4 100644
|
| --- a/ui/base/ime/input_method_auralinux.h
|
| +++ b/ui/base/ime/input_method_auralinux.h
|
| @@ -57,9 +57,22 @@ class UI_BASE_IME_EXPORT InputMethodAuraLinux
|
| void UpdateContextFocusState();
|
| void ResetContext();
|
|
|
| - // Callback function for IMEEngineHandlerInterface::ProcessKeyEvent.
|
| + // Processes the key event after the event is processed by the system IME or
|
| + // the extension.
|
| void ProcessKeyEventDone(ui::KeyEvent* event, bool filtered, bool is_handled);
|
|
|
| + // Callback function for IMEEngineHandlerInterface::ProcessKeyEvent().
|
| + // It recovers the context when the event is being passed to the extension and
|
| + // call ProcessKeyEventDone() for the following processing. This is necessary
|
| + // as this method is async. The environment may be changed by other generated
|
| + // key events by the time the callback is run.
|
| + void ProcessKeyEventByEngineDone(ui::KeyEvent* event,
|
| + bool filtered,
|
| + bool composition_changed,
|
| + ui::CompositionText* composition,
|
| + base::string16* result_text,
|
| + bool is_handled);
|
| +
|
| scoped_ptr<LinuxInputMethodContext> context_;
|
| scoped_ptr<LinuxInputMethodContext> context_simple_;
|
|
|
|
|