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

Side by Side Diff: ui/login/account_picker/screen_account_picker.js

Issue 935303002: [Smart Lock] Measure clicks on the lock icon during Easy Unlock's trial run. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/login/account_picker/user_pod_row.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Account picker screen implementation. 6 * @fileoverview Account picker screen implementation.
7 */ 7 */
8 8
9 login.createScreen('AccountPickerScreen', 'account-picker', function() { 9 login.createScreen('AccountPickerScreen', 'account-picker', function() {
10 /** 10 /**
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 banner.textContent = message; 283 banner.textContent = message;
284 banner.classList.toggle('message-set', true); 284 banner.classList.toggle('message-set', true);
285 }, 285 },
286 286
287 /** 287 /**
288 * Shows a custom icon in the user pod of |username|. This function 288 * Shows a custom icon in the user pod of |username|. This function
289 * is used by the chrome.screenlockPrivate API. 289 * is used by the chrome.screenlockPrivate API.
290 * @param {string} username Username of pod to add button 290 * @param {string} username Username of pod to add button
291 * @param {!{id: !string, 291 * @param {!{id: !string,
292 * hardlockOnClick: boolean, 292 * hardlockOnClick: boolean,
293 * isTrialRun: boolean,
293 * tooltip: ({text: string, autoshow: boolean} | undefined)}} icon 294 * tooltip: ({text: string, autoshow: boolean} | undefined)}} icon
294 * The icon parameters. 295 * The icon parameters.
295 */ 296 */
296 showUserPodCustomIcon: function(username, icon) { 297 showUserPodCustomIcon: function(username, icon) {
297 $('pod-row').showUserPodCustomIcon(username, icon); 298 $('pod-row').showUserPodCustomIcon(username, icon);
298 }, 299 },
299 300
300 /** 301 /**
301 * Hides the custom icon in the user pod of |username| added by 302 * Hides the custom icon in the user pod of |username| added by
302 * showUserPodCustomIcon(). This function is used by the 303 * showUserPodCustomIcon(). This function is used by the
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 * @param {string} userID The user ID of the public session 359 * @param {string} userID The user ID of the public session
359 * @param {string} locale The locale to which this list of keyboard layouts 360 * @param {string} locale The locale to which this list of keyboard layouts
360 * applies 361 * applies
361 * @param {!Object} list List of available keyboard layouts 362 * @param {!Object} list List of available keyboard layouts
362 */ 363 */
363 setPublicSessionKeyboardLayouts: function(userID, locale, list) { 364 setPublicSessionKeyboardLayouts: function(userID, locale, list) {
364 $('pod-row').setPublicSessionKeyboardLayouts(userID, locale, list); 365 $('pod-row').setPublicSessionKeyboardLayouts(userID, locale, list);
365 } 366 }
366 }; 367 };
367 }); 368 });
OLDNEW
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/login/account_picker/user_pod_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698