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

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: Addressed comments. Created 3 years, 11 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..dd578f665076bdfa71dcaf05e8081c6eb862d122 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::SetAllowedKeyboardLayoutInputMethods(
+ const std::vector<std::string>& new_allowed_input_method_ids) {
+ allowed_keyboard_layout_input_method_ids = new_allowed_input_method_ids;
+ return true;
+}
+
+const std::vector<std::string>&
+MockInputMethodManager::State::GetAllowedKeyboardLayoutInputMethods() {
+ return allowed_keyboard_layout_input_method_ids;
+}
+
MockInputMethodManager::State::~State() {}
MockInputMethodManager::MockInputMethodManager() {}

Powered by Google App Engine
This is Rietveld 408576698