Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Unified Diff: ui/base/ime/ime_input_context_handler_interface.h

Issue 1771173002: Implement input.ime.sendKeyEvents API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test failure. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/ime/dummy_text_input_client.cc ('k') | ui/base/ime/input_method_auralinux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/base/ime/dummy_text_input_client.cc ('k') | ui/base/ime/input_method_auralinux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698