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

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

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.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;
+
protected:
friend base::RefCounted<InputMethodManager::State>;
~State() override;

Powered by Google App Engine
This is Rietveld 408576698