| Index: chromeos/ime/input_method_manager.h
|
| diff --git a/chromeos/ime/input_method_manager.h b/chromeos/ime/input_method_manager.h
|
| index bfeacf619966876eef51abbd6a4997e64dc2e074..e2d38dd0c7eb1de207dd0a87860182e6ea0781c3 100644
|
| --- a/chromeos/ime/input_method_manager.h
|
| +++ b/chromeos/ime/input_method_manager.h
|
| @@ -98,6 +98,11 @@ class CHROMEOS_EXPORT InputMethodManager {
|
| // extension input methods.
|
| virtual scoped_ptr<InputMethodDescriptors> GetActiveInputMethods() const = 0;
|
|
|
| + // Returns the list of input methods we can select (i.e. active) including
|
| + // extension input methods.
|
| + // The same as GetActiveInputMethods but returns reference to internal list.
|
| + virtual const std::vector<std::string>& GetActiveInputMethodIds() const = 0;
|
| +
|
| // Returns the number of active input methods including extension input
|
| // methods.
|
| virtual size_t GetNumActiveInputMethods() const = 0;
|
| @@ -125,6 +130,11 @@ class CHROMEOS_EXPORT InputMethodManager {
|
| virtual bool EnableInputMethods(
|
| const std::vector<std::string>& new_active_input_method_ids) = 0;
|
|
|
| + // Adds one entry to the list of active input method IDs, and then starts or
|
| + // stops the system input method framework as needed.
|
| + virtual bool EnableInputMethod(
|
| + const std::string& new_active_input_method_id) = 0;
|
| +
|
| // Remaps old input methods like "mozc" to new input methods. Return true if
|
| // at least one IME is migrated.
|
| // TODO(nona): Remove this function after few milestones are passed.
|
| @@ -185,6 +195,9 @@ class CHROMEOS_EXPORT InputMethodManager {
|
| // Switches to an input method (or keyboard layout) which is associated with
|
| // the |accelerator|.
|
| virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) = 0;
|
| +
|
| + // If keyboard layout can be uset at login screen
|
| + virtual bool IsFullLatinKeyboard(const std::string& layout) const = 0;
|
| };
|
|
|
| } // namespace input_method
|
|
|