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

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: Update test. 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 05586d9d8e6d0c450e8baa3036873d82355d71d4..4cf40df8e441ab9f3644b697c0cc8bb08229cd0c 100644
--- a/chrome/browser/ui/input_method/input_method_engine.h
+++ b/chrome/browser/ui/input_method/input_method_engine.h
@@ -22,8 +22,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;
@@ -48,6 +46,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