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

Unified Diff: chromeos/ime/input_method_manager.h

Issue 133273032: Guest Mode: input method should default to the underlying latin keyboard layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-upload missing CL. Created 6 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: chromeos/ime/input_method_manager.h
diff --git a/chromeos/ime/input_method_manager.h b/chromeos/ime/input_method_manager.h
index f293882e0b51152335ef824901033b1e08b5edbb..7dd2d49b6b1ea590ccec8f094b37dfce671250c4 100644
--- a/chromeos/ime/input_method_manager.h
+++ b/chromeos/ime/input_method_manager.h
@@ -116,9 +116,11 @@ class CHROMEOS_EXPORT InputMethodManager {
// would be enabled. Likewise, for Germany locale, US Qwerty which corresponds
// to the hardware keyboard layout and several keyboard layouts for Germany
// would be enabled.
- // This method is for setting up i18n keyboard layouts for the login screen.
+ // For the login screen you need login_layouts_only=true to filter
+ // unsuitable keyboard layouts.
virtual void EnableLayouts(const std::string& language_code,
Hiro Komatsu 2014/01/21 05:46:01 To add keyboard layouts after login, please use En
Alexander Alekseev 2014/01/21 14:05:27 What do you mean? This method has always been used
Hiro Komatsu 2014/01/22 10:01:55 InputMethodUtil::GetInputMethodIdsFromLanguageCode
Alexander Alekseev 2014/01/22 11:35:05 Do you prefer to move EnableLayouts(const std::str
Hiro Komatsu 2014/01/24 08:24:44 No, what I meant were: 1. Please do not use Enabl
Alexander Alekseev 2014/01/24 13:29:45 Done.
- const std::string& initial_layout) = 0;
+ const std::string& initial_layout,
+ const bool login_layouts_only) = 0;
// Activates the input method property specified by the |key|.
virtual void ActivateInputMethodProperty(const std::string& key) = 0;

Powered by Google App Engine
This is Rietveld 408576698