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

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

Issue 1058433002: [cros login, new GAIA] New UI for not authorized error (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cl Created 5 years, 8 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 Login UI based on a stripped down OOBE controller. 6 * @fileoverview Login UI based on a stripped down OOBE controller.
7 */ 7 */
8 8
9 <include src="login_common.js"> 9 <include src="login_common.js">
10 <include src="gaia_whiteist_error.js">
Nikita (slow) 2015/04/06 18:57:42 I'll move this to login/custom_elements.js once Ro
10 11
11 cr.define('cr.ui.Oobe', function() { 12 cr.define('cr.ui.Oobe', function() {
12 return { 13 return {
13 /** 14 /**
14 * Initializes the OOBE flow. This will cause all C++ handlers to 15 * Initializes the OOBE flow. This will cause all C++ handlers to
15 * be invoked to do final setup. 16 * be invoked to do final setup.
16 */ 17 */
17 initialize: function() { 18 initialize: function() {
18 cr.ui.login.DisplayManager.initialize(); 19 cr.ui.login.DisplayManager.initialize();
19 login.WrongHWIDScreen.register(); 20 login.WrongHWIDScreen.register();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 * Reloads content of the page. 55 * Reloads content of the page.
55 * @param {!Object} data New dictionary with i18n values. 56 * @param {!Object} data New dictionary with i18n values.
56 */ 57 */
57 reloadContent: function(data) { 58 reloadContent: function(data) {
58 loadTimeData.overrideValues(data); 59 loadTimeData.overrideValues(data);
59 i18nTemplate.process(document, loadTimeData); 60 i18nTemplate.process(document, loadTimeData);
60 Oobe.getInstance().updateLocalizedContent_(); 61 Oobe.getInstance().updateLocalizedContent_();
61 }, 62 },
62 }; 63 };
63 }); 64 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698