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

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: 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 c3cbc7d1458a49821b1d7265f41c55eee22827f1..49458171b42a2b3d9637a6599028a95abc7cc9fe 100644
--- a/chrome/browser/ui/webui/chromeos/login/l10n_util.h
+++ b/chrome/browser/ui/webui/chromeos/login/l10n_util.h
@@ -43,6 +43,14 @@ 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> GetKeyboardLayouts(const std::string& locale);
+
} // namespace chromeos
#endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_L10N_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698