1 // Copyright (c) 2012 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.
6 * @fileoverview Offline message screen implementation.
9 login
.createScreen('TPMErrorMessageScreen', 'tpm-error-message', function() {
16 * Buttons in oobe wizard's button strip.
17 * @type {array} Array of Buttons.
20 var rebootButton
= this.ownerDocument
.createElement('button');
21 rebootButton
.id
= 'reboot-button';
22 rebootButton
.textContent
=
23 loadTimeData
.getString('errorTpmFailureRebootButton');
24 rebootButton
.addEventListener('click', function() {
25 chrome
.send('rebootSystem');
27 return [rebootButton
];
34 Oobe
.showScreen({id
: SCREEN_TPM_ERROR
});