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

Unified Diff: chrome/browser/resources/chromeos/login/screen_encryption_migration.js

Issue 2779933002: Add a screen to migrate filesystem encryption from eCryptfs to ext4 crypto. (Closed)
Patch Set: Address review comments. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
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;
+ },
+ };
+});
« no previous file with comments | « chrome/browser/resources/chromeos/login/screen_encryption_migration.html ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698