Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Base class for all login WebUI screens. | 6 * @fileoverview Base class for all login WebUI screens. |
| 7 */ | 7 */ |
| 8 cr.define('login', function() { | 8 cr.define('login', function() { |
| 9 /** @const */ var CALLBACK_CONTEXT_CHANGED = 'contextChanged'; | 9 /** @const */ var CALLBACK_CONTEXT_CHANGED = 'contextChanged'; |
| 10 /** @const */ var CALLBACK_USER_ACTED = 'userActed'; | 10 /** @const */ var CALLBACK_USER_ACTED = 'userActed'; |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 377 var screen = $(id); | 377 var screen = $(id); |
| 378 screen.__proto__ = new Constructor(); | 378 screen.__proto__ = new Constructor(); |
| 379 | 379 |
| 380 if (opt_lazy_init !== undefined && opt_lazy_init) | 380 if (opt_lazy_init !== undefined && opt_lazy_init) |
| 381 screen.deferredInitialization = function() { screen.initialize(); } | 381 screen.deferredInitialization = function() { screen.initialize(); } |
| 382 else | 382 else |
| 383 screen.initialize(); | 383 screen.initialize(); |
| 384 Oobe.getInstance().registerScreen(screen); | 384 Oobe.getInstance().registerScreen(screen); |
| 385 }; | 385 }; |
| 386 | 386 |
| 387 cr.define('login', function() { | 387 cr.exportPath('login') |
|
Dan Beam
2016/07/28 16:27:05
missing a semi-colon
cr.exportPath('login');
aberent
2016/08/02 11:43:30
Done.
| |
| 388 var result = {}; | 388 login[name] = api; |
| 389 result[name] = api; | |
| 390 return result; | |
| 391 }); | |
| 392 } | 389 } |
| 393 }; | 390 }; |
| 394 }); | 391 }); |
| OLD | NEW |