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

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

Issue 433163005: Refactoring for InputMethodEngine and InputMethodEventRouter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: error tolerance for missing background page for key events. Created 6 years, 4 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/chromeos/input_method/input_method_engine_interface.h
diff --git a/chrome/browser/chromeos/input_method/input_method_engine_interface.h b/chrome/browser/chromeos/input_method/input_method_engine_interface.h
index 71d4298ee97dc4a637ec0e3f6f009ad5d357ce25..9c7cb57d6e61a9a0ef486c8a1cc9347aa4edd209 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine_interface.h
+++ b/chrome/browser/chromeos/input_method/input_method_engine_interface.h
@@ -172,11 +172,6 @@ class InputMethodEngineInterface : public IMEEngineHandlerInterface {
virtual ~InputMethodEngineInterface() {}
- virtual const input_method::InputMethodDescriptor& GetDescriptor() const = 0;
-
- // Called when the input metho initialization is done.
- virtual void NotifyImeReady() = 0;
-
// Set the current composition and associated properties.
virtual bool SetComposition(int context_id,
const char* text,
@@ -231,6 +226,9 @@ class InputMethodEngineInterface : public IMEEngineHandlerInterface {
// Returns true if this IME is active, false if not.
virtual bool IsActive() const = 0;
+ // Returns the current active engine id.
Yuki 2014/08/06 04:42:23 s/engine/component/ at least. Better to mention to
Shu Chen 2014/08/06 05:45:03 Done.
+ virtual const std::string& GetActiveComponentId() const = 0;
+
// Deletes |number_of_chars| unicode characters as the basis of |offset| from
// the surrounding text. The |offset| is relative position based on current
// caret.

Powered by Google App Engine
This is Rietveld 408576698