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..5e5c59615055569ae84e668c5ad22ff930de9192 100644 |
--- a/ui/base/ime/chromeos/mock_input_method_manager.h |
+++ b/ui/base/ime/chromeos/mock_input_method_manager.h |
@@ -53,6 +53,9 @@ 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 SetAllowedInputMethods( |
+ const std::vector<std::string>& new_allowed_input_method_ids) override; |
+ const std::vector<std::string>& GetAllowedInputMethods() override; |
// The active input method ids cache (actually default only) |
std::vector<std::string> active_input_method_ids; |
@@ -62,6 +65,9 @@ class UI_BASE_IME_EXPORT MockInputMethodManager : public InputMethodManager { |
~State() override; |
private: |
+ // Allowed input methods ids |
+ std::vector<std::string> allowed_input_method_ids_; |
+ |
DISALLOW_COPY_AND_ASSIGN(State); |
}; |