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

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: Updated the json file. 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 e4af2e847995cdde30ed6120aaecff569a8052bb..9e65cb8c506f8e7c427b118f26fea8ef814d8c2a 100644
--- a/ui/base/ime/input_method_base.cc
+++ b/ui/base/ime/input_method_base.cc
@@ -195,4 +195,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