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

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 typo 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 4aeef61b214127026f317621644988d5a4a1aa86..a61f83022f962b610f1521f5a9de3df2d14614ae 100644
--- a/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
+++ b/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
@@ -142,6 +142,7 @@ InputMethodDescriptor MockInputMethodManager::GetCurrentInputMethod() const {
descriptor.name(),
descriptor.keyboard_layouts(),
descriptor.language_codes(),
+ true,
GURL()); // options page url.
}
return descriptor;
@@ -174,7 +175,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;
}

Powered by Google App Engine
This is Rietveld 408576698