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

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

Issue 2779933002: Add a screen to migrate filesystem encryption from eCryptfs to ext4 crypto. (Closed)
Patch Set: Address review comments. Created 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 Shared data between oobe and the login screens. These files 6 * @fileoverview Shared data between oobe and the login screens. These files
7 * are *not* used in the lock screen. If a file should also be used in the lock 7 * are *not* used in the lock screen. If a file should also be used in the lock
8 * screen, added it to login_shared.js. 8 * screen, added it to login_shared.js.
9 */ 9 */
10 10
(...skipping 13 matching lines...) Expand all
24 // <include src="screen_gaia_signin.js"> 24 // <include src="screen_gaia_signin.js">
25 // <include src="screen_password_changed.js"> 25 // <include src="screen_password_changed.js">
26 // <include src="screen_supervised_user_creation.js"> 26 // <include src="screen_supervised_user_creation.js">
27 // <include src="screen_tpm_error.js"> 27 // <include src="screen_tpm_error.js">
28 // <include src="screen_wrong_hwid.js"> 28 // <include src="screen_wrong_hwid.js">
29 // <include src="screen_confirm_password.js"> 29 // <include src="screen_confirm_password.js">
30 // <include src="screen_fatal_error.js"> 30 // <include src="screen_fatal_error.js">
31 // <include src="screen_device_disabled.js"> 31 // <include src="screen_device_disabled.js">
32 // <include src="screen_unrecoverable_cryptohome_error.js"> 32 // <include src="screen_unrecoverable_cryptohome_error.js">
33 // <include src="screen_active_directory_password_change.js"> 33 // <include src="screen_active_directory_password_change.js">
34 // <include src="screen_encryption_migration.js">
34 35
35 // <include src="../../gaia_auth_host/authenticator.js"> 36 // <include src="../../gaia_auth_host/authenticator.js">
36 37
37 // Register assets for async loading. 38 // Register assets for async loading.
38 [{ 39 [{
39 id: SCREEN_OOBE_ENROLLMENT, 40 id: SCREEN_OOBE_ENROLLMENT,
40 html: [{ url: 'chrome://oobe/enrollment.html', targetID: 'inner-container' }], 41 html: [{ url: 'chrome://oobe/enrollment.html', targetID: 'inner-container' }],
41 css: ['chrome://oobe/enrollment.css'], 42 css: ['chrome://oobe/enrollment.css'],
42 js: ['chrome://oobe/enrollment.js'] 43 js: ['chrome://oobe/enrollment.js']
43 }].forEach(cr.ui.login.ResourceLoader.registerAssets); 44 }].forEach(cr.ui.login.ResourceLoader.registerAssets);
44 45
45 (function() { 46 (function() {
46 'use strict'; 47 'use strict';
47 48
48 document.addEventListener('DOMContentLoaded', function() { 49 document.addEventListener('DOMContentLoaded', function() {
49 // Immediately load async assets. 50 // Immediately load async assets.
50 cr.ui.login.ResourceLoader.loadAssets(SCREEN_OOBE_ENROLLMENT, function() { 51 cr.ui.login.ResourceLoader.loadAssets(SCREEN_OOBE_ENROLLMENT, function() {
51 // This screen is async-loaded so we manually trigger i18n processing. 52 // This screen is async-loaded so we manually trigger i18n processing.
52 i18nTemplate.process($('oauth-enrollment'), loadTimeData); 53 i18nTemplate.process($('oauth-enrollment'), loadTimeData);
53 // Delayed binding since this isn't defined yet. 54 // Delayed binding since this isn't defined yet.
54 login.OAuthEnrollmentScreen.register(); 55 login.OAuthEnrollmentScreen.register();
55 }); 56 });
56 }); 57 });
57 })(); 58 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/login.js ('k') | chrome/browser/resources/chromeos/login/login_screens.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698