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

Unified Diff: chrome/browser/chromeos/input_method/input_method_engine.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 | « no previous file | chrome/browser/chromeos/input_method/input_method_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/input_method_engine.h
diff --git a/chrome/browser/chromeos/input_method/input_method_engine.h b/chrome/browser/chromeos/input_method/input_method_engine.h
index 578950cdcc7434f162235581a5a49b971b93f865..ed82dc053397969f179ca1ac46aad16b2ea1ae58 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine.h
+++ b/chrome/browser/chromeos/input_method/input_method_engine.h
@@ -89,8 +89,6 @@ class InputMethodEngine : public ::input_method::InputMethodEngineBase {
~InputMethodEngine() override;
// IMEEngineHandlerInterface overrides.
- bool SendKeyEvents(int context_id,
- const std::vector<KeyboardEvent>& events) override;
bool SetCandidateWindowVisible(bool visible, std::string* error) override;
bool SetCursorPosition(int context_id,
int candidate_id,
@@ -139,6 +137,7 @@ class InputMethodEngine : public ::input_method::InputMethodEngineBase {
bool is_visible) override;
void CommitTextToInputContext(int context_id,
const std::string& text) override;
+ bool SendKeyEvent(ui::KeyEvent* event, const std::string& code) override;
// The current candidate window.
scoped_ptr<ui::CandidateWindow> candidate_window_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698