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

Unified Diff: chrome/browser/ui/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
Index: chrome/browser/ui/input_method/input_method_engine.h
diff --git a/chrome/browser/ui/input_method/input_method_engine.h b/chrome/browser/ui/input_method/input_method_engine.h
index 9710ced04a12e502ba818ce0693436a19484fd04..adf19216a6d2b75f5639694c9a9e0c88d4f9dcdb 100644
--- a/chrome/browser/ui/input_method/input_method_engine.h
+++ b/chrome/browser/ui/input_method/input_method_engine.h
@@ -26,8 +26,6 @@ class InputMethodEngine : public InputMethodEngineBase,
~InputMethodEngine() override;
// ui::IMEEngineHandlerInterface:
- bool SendKeyEvents(int context_id,
- const std::vector<KeyboardEvent>& events) override;
bool IsActive() const override;
std::string GetExtensionId() const override;
@@ -54,6 +52,7 @@ class InputMethodEngine : public InputMethodEngineBase,
bool is_visible) override;
void CommitTextToInputContext(int context_id,
const std::string& text) override;
+ bool SendKeyEvent(ui::KeyEvent* ui_event, const std::string& code) override;
// ui::ImeWindowObserver:
void OnWindowDestroyed(ui::ImeWindow* ime_window) override;

Powered by Google App Engine
This is Rietveld 408576698