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

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: Addressed Shu's comment and update implementation on Windows. 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 14e5ac5eaa779827fb026d8ffd73107a517fc598..0d3fe92a04184c967b2daf7d0100c0c3d684f34b 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;
@@ -53,6 +51,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) override;
// ui::ImeWindowObserver:
void OnWindowDestroyed(ui::ImeWindow* ime_window) override;

Powered by Google App Engine
This is Rietveld 408576698