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

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: 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.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);
};

Powered by Google App Engine
This is Rietveld 408576698