| Index: ui/login/account_picker/screen_account_picker.js
|
| diff --git a/ui/login/account_picker/screen_account_picker.js b/ui/login/account_picker/screen_account_picker.js
|
| index e1dbd6664256dac5ce141dd46b5bf8374038cbd3..fc87cc438e8d7c4b6a246f2e06aa0341ac9679a4 100644
|
| --- a/ui/login/account_picker/screen_account_picker.js
|
| +++ b/ui/login/account_picker/screen_account_picker.js
|
| @@ -29,6 +29,7 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() {
|
| 'showUserPodCustomIcon',
|
| 'hideUserPodCustomIcon',
|
| 'setAuthType',
|
| + 'setTouchViewState',
|
| 'setPublicSessionDisplayName',
|
| 'setPublicSessionLocales',
|
| 'setPublicSessionKeyboardLayouts',
|
| @@ -113,6 +114,7 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() {
|
| * Event handler invoked when the page is shown and ready.
|
| */
|
| onShow: function() {
|
| + chrome.send('getTouchViewState');
|
| if (!this.firstShown_) return;
|
| this.firstShown_ = false;
|
|
|
| @@ -304,6 +306,14 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() {
|
| },
|
|
|
| /**
|
| + * Sets the state of touch view mode.
|
| + * @param {boolean} isTouchViewEnabled true if the mode is on.
|
| + */
|
| + setTouchViewState: function(isTouchViewEnabled) {
|
| + $('pod-row').setTouchViewState(isTouchViewEnabled);
|
| + },
|
| +
|
| + /**
|
| * Updates the display name shown on a public session pod.
|
| * @param {string} userID The user ID of the public session
|
| * @param {string} displayName The new display name
|
|
|