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

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

Issue 1657593007: Implement chrome.input.ime.setComposition/commitText API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use Xxx::Results::Create(). Created 4 years, 10 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
« no previous file with comments | « ui/base/ime/input_method_chromeos.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method_chromeos.cc
diff --git a/ui/base/ime/input_method_chromeos.cc b/ui/base/ime/input_method_chromeos.cc
index 72a3048f092f387b0467c21143de39305c3f1b2f..d49c734a6c6c035f6a9fe9ee2f2da358a6b45c45 100644
--- a/ui/base/ime/input_method_chromeos.cc
+++ b/ui/base/ime/input_method_chromeos.cc
@@ -439,14 +439,6 @@ bool InputMethodChromeOS::HasInputMethodResult() const {
return result_text_.length() || composition_changed_;
}
-bool InputMethodChromeOS::SendFakeProcessKeyEvent(bool pressed) const {
- KeyEvent evt(pressed ? ET_KEY_PRESSED : ET_KEY_RELEASED,
- pressed ? VKEY_PROCESSKEY : VKEY_UNKNOWN,
- EF_IME_FABRICATED_KEY);
- ignore_result(DispatchKeyEventPostIME(&evt));
- return evt.stopped_propagation();
-}
-
void InputMethodChromeOS::CommitText(const std::string& text) {
if (text.empty())
return;
« no previous file with comments | « ui/base/ime/input_method_chromeos.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698