| 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;
|
|
|