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

Unified Diff: chrome/browser/chromeos/input_method/input_method_engine.h

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 | « no previous file | chrome/browser/chromeos/input_method/input_method_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/input_method_engine.h
diff --git a/chrome/browser/chromeos/input_method/input_method_engine.h b/chrome/browser/chromeos/input_method/input_method_engine.h
index 9420a48cafe676f5e244e91a1080495623a7df98..9199e397337eb08d44a1e9abe8a810b1a97425a2 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine.h
+++ b/chrome/browser/chromeos/input_method/input_method_engine.h
@@ -151,6 +151,13 @@ class InputMethodEngine : public ::input_method::InputMethodEngineBase {
// Enables overriding input view page to Virtual Keyboard window.
void EnableInputView();
+ // input_method::InputMethodEngineBase:
+ void UpdateComposition(const ui::CompositionText& composition_text,
+ uint32_t cursor_pos,
+ bool is_visible) override;
+ void CommitTextToInputContext(int context_id,
+ const std::string& text) override;
+
// The current candidate window.
scoped_ptr<ui::CandidateWindow> candidate_window_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698