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

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

Issue 7779010: Implements frame sniffer to watch iframe loading state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 Out of the box experience flow (OOBE). 6 * @fileoverview Out of the box experience flow (OOBE).
7 * This is the main code for the OOBE WebUI implementation. 7 * This is the main code for the OOBE WebUI implementation.
8 */ 8 */
9 9
10 var localStrings = new LocalStrings(); 10 var localStrings = new LocalStrings();
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 this.appendButtons_(screen.buttons); 218 this.appendButtons_(screen.buttons);
219 } 219 }
220 }, 220 },
221 221
222 /** 222 /**
223 * Prepares screens to use in login display. 223 * Prepares screens to use in login display.
224 */ 224 */
225 prepareForLoginDisplay_ : function() { 225 prepareForLoginDisplay_ : function() {
226 for (var i = 0, screenId; screenId = this.screens_[i]; ++i) { 226 for (var i = 0, screenId; screenId = this.screens_[i]; ++i) {
227 var screen = $(screenId); 227 var screen = $(screenId);
228
229 screen.classList.add('faded'); 228 screen.classList.add('faded');
230 screen.classList.remove('right'); 229 screen.classList.remove('right');
231 screen.classList.remove('left'); 230 screen.classList.remove('left');
232 } 231 }
233 } 232 }
234 }; 233 };
235 234
236 /** 235 /**
237 * Setups given "select" element using the list and adds callback. 236 * Setups given "select" element using the list and adds callback.
238 * @param {!Element} select Select object to be updated. 237 * @param {!Element} select Select object to be updated.
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 document.onselectstart = function(e) { 582 document.onselectstart = function(e) {
584 e.preventDefault(); 583 e.preventDefault();
585 } 584 }
586 585
587 // Disable dragging. 586 // Disable dragging.
588 document.ondragstart = function(e) { 587 document.ondragstart = function(e) {
589 e.preventDefault(); 588 e.preventDefault();
590 } 589 }
591 590
592 document.addEventListener('DOMContentLoaded', cr.ui.Oobe.initialize); 591 document.addEventListener('DOMContentLoaded', cr.ui.Oobe.initialize);
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/tab_first_render_watcher.cc ('k') | chrome/browser/resources/chromeos/login/screen_gaia_signin.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698