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

Unified Diff: chrome/browser/chromeos/input_method/mock_input_method_manager.cc

Issue 22980018: Disable non Latin keyboard layout on Lock screen and Sign-in screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test case. Created 7 years, 4 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: chrome/browser/chromeos/input_method/mock_input_method_manager.cc
diff --git a/chrome/browser/chromeos/input_method/mock_input_method_manager.cc b/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
index da3369414da0e7ad74f25b8d4c5918b4fd90b1f6..b5210d11305ebdc526c5f52074092217d6a97f84 100644
--- a/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
+++ b/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
@@ -135,6 +135,7 @@ InputMethodDescriptor MockInputMethodManager::GetCurrentInputMethod() const {
descriptor.name(),
descriptor.keyboard_layouts(),
descriptor.language_codes(),
+ true,
GURL()); // options page url.
}
return descriptor;
@@ -167,7 +168,7 @@ void MockInputMethodManager::set_hardware_keyboard_layout(
delegate_.set_hardware_keyboard_layout(value);
}
-bool MockInputMethodManager::IsFullLatinKeyboard(
+bool MockInputMethodManager::IsLoginKeyboard(
const std::string& layout) const {
return true;
}
« no previous file with comments | « chrome/browser/chromeos/input_method/mock_input_method_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698