summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/input_method/input_method_engine_interface.h
diff options
context:
space:
mode:
authorkomatsu@chromium.org <komatsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 16:24:37 +0000
committerkomatsu@chromium.org <komatsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 16:24:37 +0000
commit174d116ad553e7cd2c028229e62ebd24130597e3 (patch)
tree489896d621091efac7ed07531bfa243c4da81f52 /chrome/browser/chromeos/input_method/input_method_engine_interface.h
parentd59a1c1e3d73290000ef93c675e2b4cdc111d7b0 (diff)
downloadchromium_src-174d116ad553e7cd2c028229e62ebd24130597e3.zip
chromium_src-174d116ad553e7cd2c028229e62ebd24130597e3.tar.gz
chromium_src-174d116ad553e7cd2c028229e62ebd24130597e3.tar.bz2
Implement input.ime.sendKeyEvents and its browsertest.
BUG=326931 Review URL: https://codereview.chromium.org/110513004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/input_method/input_method_engine_interface.h')
-rw-r--r--chrome/browser/chromeos/input_method/input_method_engine_interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/input_method/input_method_engine_interface.h b/chrome/browser/chromeos/input_method/input_method_engine_interface.h
index c6b0655..4fba077 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine_interface.h
+++ b/chrome/browser/chromeos/input_method/input_method_engine_interface.h
@@ -186,6 +186,10 @@ class InputMethodEngineInterface : public IBusEngineHandlerInterface {
virtual bool CommitText(int context_id, const char* text,
std::string* error) = 0;
+ // Send the sequence of key events.
+ virtual bool SendKeyEvents(int context_id,
+ const std::vector<KeyboardEvent>& events) = 0;
+
// This function returns the current property of the candidate window.
// The caller can use the returned value as the default property and
// modify some of specified items.