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

Unified Diff: chromeos/ime/input_method_manager.h

Issue 136693012: [IME] Supports options page for each IME instead of single options page for each IME extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit tests compiling errors. Created 6 years, 11 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: chromeos/ime/input_method_manager.h
diff --git a/chromeos/ime/input_method_manager.h b/chromeos/ime/input_method_manager.h
index f293882e0b51152335ef824901033b1e08b5edbb..bbd52125d6730539389ed95debe8943a0e48fe5c 100644
--- a/chromeos/ime/input_method_manager.h
+++ b/chromeos/ime/input_method_manager.h
@@ -105,6 +105,11 @@ class CHROMEOS_EXPORT InputMethodManager {
// methods.
virtual size_t GetNumActiveInputMethods() const = 0;
+ // Returns the input method descriptor from the given input method id string.
+ // If the given input method id is invalid, returns NULL.
+ virtual const InputMethodDescriptor* GetInputMethodFromId(
+ const std::string& input_method_id) const = 0;
+
// Changes the current input method to |input_method_id|. If |input_method_id|
// is not active, switch to the first one in the active input method list.
virtual void ChangeInputMethod(const std::string& input_method_id) = 0;
« no previous file with comments | « chrome/common/extensions/api/input_ime/input_components_handler.cc ('k') | extensions/common/manifest_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698