Chromium Code Reviews| Index: ui/base/ime/chromeos/mock_input_method_manager.h |
| diff --git a/ui/base/ime/chromeos/mock_input_method_manager.h b/ui/base/ime/chromeos/mock_input_method_manager.h |
| index 586d9e56d43fe3a786af49fdd845a41e19713806..ada754319042892b9822946e9ac43a842d41d7da 100644 |
| --- a/ui/base/ime/chromeos/mock_input_method_manager.h |
| +++ b/ui/base/ime/chromeos/mock_input_method_manager.h |
| @@ -53,10 +53,17 @@ class UI_BASE_IME_EXPORT MockInputMethodManager : public InputMethodManager { |
| InputMethodDescriptor GetCurrentInputMethod() const override; |
| bool ReplaceEnabledInputMethods( |
| const std::vector<std::string>& new_active_input_method_ids) override; |
| + bool SetAllowedKeyboardLayoutInputMethods( |
| + const std::vector<std::string>& new_allowed_input_method_ids) override; |
| + const std::vector<std::string>& GetAllowedKeyboardLayoutInputMethods() |
| + override; |
| // The active input method ids cache (actually default only) |
| std::vector<std::string> active_input_method_ids; |
| + // Allowed input methods ids |
| + std::vector<std::string> allowed_keyboard_layout_input_method_ids; |
|
Yuki
2017/01/31 15:18:29
nit: I'd recommend to rename this without "keyboar
Yuki
2017/01/31 15:18:29
nit: I don't see a reason to expose this member as
pmarko
2017/02/01 14:07:57
Done (both).
|
| + |
| protected: |
| friend base::RefCounted<InputMethodManager::State>; |
| ~State() override; |