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

Unified Diff: trunk/src/ui/login/account_picker/screen_account_picker.js

Issue 441143002: Revert 287581 "Allow recommended locales to be set for public se..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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: trunk/src/ui/login/account_picker/screen_account_picker.js
===================================================================
--- trunk/src/ui/login/account_picker/screen_account_picker.js (revision 287633)
+++ trunk/src/ui/login/account_picker/screen_account_picker.js (working copy)
@@ -31,7 +31,6 @@
'setAuthType',
'showEasyUnlockBubble',
'setPublicSessionDisplayName',
- 'setPublicSessionLocales',
'setPublicSessionKeyboardLayouts',
],
@@ -315,32 +314,12 @@
},
/**
- * Updates the list of locales available for a public session.
- * @param {string} userID The user ID of the public session
- * @param {!Object} locales The list of available locales
- * @param {string} defaultLocale The locale to select by default
- * @param {boolean} multipleRecommendedLocales Whether |locales| contains
- * two or more recommended locales
- */
- setPublicSessionLocales: function(userID,
- locales,
- defaultLocale,
- multipleRecommendedLocales) {
- $('pod-row').setPublicSessionLocales(userID,
- locales,
- defaultLocale,
- multipleRecommendedLocales);
- },
-
- /**
* Updates the list of available keyboard layouts for a public session pod.
* @param {string} userID The user ID of the public session
- * @param {string} locale The locale to which this list of keyboard layouts
- * applies
* @param {!Object} list List of available keyboard layouts
*/
- setPublicSessionKeyboardLayouts: function(userID, locale, list) {
- $('pod-row').setPublicSessionKeyboardLayouts(userID, locale, list);
+ setPublicSessionKeyboardLayouts: function(userID, list) {
+ $('pod-row').setPublicSessionKeyboardLayouts(userID, list);
}
};
});
« no previous file with comments | « trunk/src/tools/metrics/histograms/histograms.xml ('k') | trunk/src/ui/login/account_picker/user_pod_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698