| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 login.createScreen('EncryptionMigrationScreen', 'encryption-migration', |
| 6 function() { |
| 7 return { |
| 8 EXTERNAL_API: [ |
| 9 ], |
| 10 |
| 11 /** |
| 12 * Ignore any accelerators the user presses on this screen. |
| 13 */ |
| 14 ignoreAccelerators: true, |
| 15 |
| 16 /** @override */ |
| 17 decorate: function() { |
| 18 }, |
| 19 |
| 20 /** |
| 21 * Event handler that is invoked just before the screen in shown. |
| 22 */ |
| 23 onBeforeShow: function() { |
| 24 $('progress-dots').hidden = true; |
| 25 var headerBar = $('login-header-bar'); |
| 26 headerBar.allowCancel = false; |
| 27 headerBar.showGuestButton = false; |
| 28 headerBar.showCreateSupervisedButton = false; |
| 29 headerBar.signinUIState = SIGNIN_UI_STATE.HIDDEN; |
| 30 }, |
| 31 }; |
| 32 }); |
| OLD | NEW |