Index: ui/base/ime/ime_input_context_handler_interface.h |
diff --git a/ui/base/ime/ime_input_context_handler_interface.h b/ui/base/ime/ime_input_context_handler_interface.h |
index 5a8f6aeae3a8cb299fe416e0b5dcef89664f5918..b8fbb2b358be9366e128c47a0e0293e387adef0a 100644 |
--- a/ui/base/ime/ime_input_context_handler_interface.h |
+++ b/ui/base/ime/ime_input_context_handler_interface.h |
@@ -10,6 +10,7 @@ |
#include <string> |
#include "ui/base/ime/composition_text.h" |
#include "ui/base/ime/ui_base_ime_export.h" |
+#include "ui/events/event.h" |
namespace ui { |
@@ -25,6 +26,9 @@ class UI_BASE_IME_EXPORT IMEInputContextHandlerInterface { |
// Called when the engine request deleting surrounding string. |
virtual void DeleteSurroundingText(int32_t offset, uint32_t length) = 0; |
+ |
+ // Called when the engine sends a key event. |
+ virtual void SendKeyEvent(KeyEvent* event) = 0; |
}; |
} // namespace ui |