| Index: chrome/browser/resources/chromeos/login/screen_encryption_migration.js
|
| diff --git a/chrome/browser/resources/chromeos/login/screen_encryption_migration.js b/chrome/browser/resources/chromeos/login/screen_encryption_migration.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f0d681a59efda402c33e9bd190293dffd44698d6
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/chromeos/login/screen_encryption_migration.js
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +login.createScreen('EncryptionMigrationScreen', 'encryption-migration',
|
| + function() {
|
| + return {
|
| + EXTERNAL_API: [
|
| + ],
|
| +
|
| + /**
|
| + * Ignore any accelerators the user presses on this screen.
|
| + */
|
| + ignoreAccelerators: true,
|
| +
|
| + /** @override */
|
| + decorate: function() {
|
| + },
|
| +
|
| + /**
|
| + * Event handler that is invoked just before the screen in shown.
|
| + */
|
| + onBeforeShow: function() {
|
| + $('progress-dots').hidden = true;
|
| + var headerBar = $('login-header-bar');
|
| + headerBar.allowCancel = false;
|
| + headerBar.showGuestButton = false;
|
| + headerBar.showCreateSupervisedButton = false;
|
| + headerBar.signinUIState = SIGNIN_UI_STATE.HIDDEN;
|
| + },
|
| + };
|
| +});
|
|
|