'showUserPodCustomIcon',
'hideUserPodCustomIcon',
'setAuthType',
+ 'setTouchViewState',
'setPublicSessionDisplayName',
'setPublicSessionLocales',
'setPublicSessionKeyboardLayouts',
* Event handler invoked when the page is shown and ready.
*/
onShow: function() {
+ chrome.send('getTouchViewState');
if (!this.firstShown_) return;
this.firstShown_ = false;
},
/**
+ * 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