Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Unified Diff: ui/base/ime/chromeos/mock_input_method_manager.cc

Issue 2652793003: Add login screen locale and input method device policies (Closed)
Patch Set: Rebase. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {}

Powered by Google App Engine
This is Rietveld 408576698