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

Side by Side Diff: chrome/browser/resources/chromeos/login/display_manager.js

Issue 16104008: First try at a user management screen for the desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forgot untracked files Created 7 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 Display manager for WebUI OOBE and login. 6 * @fileoverview Display manager for WebUI OOBE and login.
7 */ 7 */
8 8
9 // TODO(xiyuan): Find a better to share those constants. 9 // TODO(xiyuan): Find a better to share those constants.
10 /** @const */ var SCREEN_OOBE_NETWORK = 'connect'; 10 /** @const */ var SCREEN_OOBE_NETWORK = 'connect';
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 410
411 var header = document.createElement('span'); 411 var header = document.createElement('span');
412 header.id = 'header-' + screenId; 412 header.id = 'header-' + screenId;
413 header.textContent = el.header ? el.header : ''; 413 header.textContent = el.header ? el.header : '';
414 header.className = 'header-section'; 414 header.className = 'header-section';
415 $('header-sections').appendChild(header); 415 $('header-sections').appendChild(header);
416 416
417 var dot = document.createElement('div'); 417 var dot = document.createElement('div');
418 dot.id = screenId + '-dot'; 418 dot.id = screenId + '-dot';
419 dot.className = 'progdot'; 419 dot.className = 'progdot';
420 $('progress-dots').appendChild(dot); 420 var progressDots = $('progress-dots');
421 if (progressDots)
422 progressDots.appendChild(dot);
421 423
422 this.appendButtons_(el.buttons, screenId); 424 this.appendButtons_(el.buttons, screenId);
423 }, 425 },
424 426
425 /** 427 /**
426 * Updates inner container size based on the size of the current screen and 428 * Updates inner container size based on the size of the current screen and
427 * other screens in the same group. 429 * other screens in the same group.
428 * Should be executed on screen change / screen size change. 430 * Should be executed on screen change / screen size change.
429 * @param {!HTMLElement} screen Screen that is being shown. 431 * @param {!HTMLElement} screen Screen that is being shown.
430 */ 432 */
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 */ 724 */
723 DisplayManager.refocusCurrentPod = function() { 725 DisplayManager.refocusCurrentPod = function() {
724 $('pod-row').refocusCurrentPod(); 726 $('pod-row').refocusCurrentPod();
725 }; 727 };
726 728
727 // Export 729 // Export
728 return { 730 return {
729 DisplayManager: DisplayManager 731 DisplayManager: DisplayManager
730 }; 732 };
731 }); 733 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698