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

Unified Diff: ui/base/ime/input_method_base.cc

Issue 1771173002: Implement input.ime.sendKeyEvents API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added Windows-specific implementation. 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: ui/base/ime/input_method_base.cc
diff --git a/ui/base/ime/input_method_base.cc b/ui/base/ime/input_method_base.cc
index 5d53a1943dcf1ff8bb907d7d585e33dfa451b63b..17bf8df1f8848ed2400a0f896c42834bf4114428 100644
--- a/ui/base/ime/input_method_base.cc
+++ b/ui/base/ime/input_method_base.cc
@@ -190,4 +190,8 @@ void InputMethodBase::UpdateCompositionText(const CompositionText& composition_,
void InputMethodBase::DeleteSurroundingText(int32_t offset, uint32_t length) {}
+void InputMethodBase::SendKeyEvent(KeyEvent* event) {
+ DispatchKeyEvent(event);
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698