Index: ui/base/ime/chromeos/mock_input_method_manager.cc |
diff --git a/ui/base/ime/chromeos/mock_input_method_manager.cc b/ui/base/ime/chromeos/mock_input_method_manager.cc |
index 0e4c6230686fe0940602e0a911f653ddf9a75a2d..60af4b6e515375d4123c38d1a514a9bc80ce9476 100644 |
--- a/ui/base/ime/chromeos/mock_input_method_manager.cc |
+++ b/ui/base/ime/chromeos/mock_input_method_manager.cc |
@@ -92,6 +92,17 @@ bool MockInputMethodManager::State::ReplaceEnabledInputMethods( |
return true; |
} |
+bool MockInputMethodManager::State::SetAllowedInputMethods( |
+ const std::vector<std::string>& new_allowed_input_method_ids) { |
+ allowed_input_method_ids_ = new_allowed_input_method_ids; |
+ return true; |
+} |
+ |
+const std::vector<std::string>& |
+MockInputMethodManager::State::GetAllowedInputMethods() { |
+ return allowed_input_method_ids_; |
+} |
+ |
MockInputMethodManager::State::~State() {} |
MockInputMethodManager::MockInputMethodManager() {} |