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

Unified Diff: chrome/browser/ui/webui/chromeos/login/l10n_util.h

Issue 398543002: Add language and keyboard layout pickers to public session pods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Base the list of keyboard layouts offered on the resolved locale, not the selected locale. Created 6 years, 5 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/ui/webui/chromeos/login/l10n_util.h
diff --git a/chrome/browser/ui/webui/chromeos/login/l10n_util.h b/chrome/browser/ui/webui/chromeos/login/l10n_util.h
index de668996a6b0e6a906213a2b3bab51e32b9de87f..2f9fcc843fb070f9459c3ecc4006b41f778be1dc 100644
--- a/chrome/browser/ui/webui/chromeos/login/l10n_util.h
+++ b/chrome/browser/ui/webui/chromeos/login/l10n_util.h
@@ -55,6 +55,15 @@ scoped_ptr<base::ListValue> GetLoginKeyboardLayouts(
const std::string& locale,
const std::string& selected);
+// Return a list of keyboard layouts that can be used for |locale|. Each list
+// entry is a dictionary that contains data such as an ID and a display name.
+// The list will consist of the device's hardware layouts, followed by a divider
+// and locale-specific keyboard layouts, if any. All layouts supported for
+// |locale| are returned, including those that produce non-Latin characters by
+// default.
+scoped_ptr<base::ListValue> GetKeyboardLayoutsForLocale(
+ const std::string& locale);
+
} // namespace chromeos
#endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_L10N_UTIL_H_
« no previous file with comments | « chrome/browser/resources/login/user_pod_template.html ('k') | chrome/browser/ui/webui/chromeos/login/l10n_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698