| Index: chrome/browser/resources/chromeos/login/screen_tpm_error.js
|
| diff --git a/chrome/browser/resources/chromeos/login/screen_tpm_error.js b/chrome/browser/resources/chromeos/login/screen_tpm_error.js
|
| index 31a5df17024aee33f42cd17137f0d9585948f46c..3843ef806db195d85b235342f8689f7648ead2c5 100644
|
| --- a/chrome/browser/resources/chromeos/login/screen_tpm_error.js
|
| +++ b/chrome/browser/resources/chromeos/login/screen_tpm_error.js
|
| @@ -28,7 +28,22 @@ cr.define('login', function() {
|
|
|
| /** @override */
|
| decorate: function() {
|
| - }
|
| + },
|
| +
|
| + /**
|
| + * Buttons in oobe wizard's button strip.
|
| + * @type {array} Array of Buttons.
|
| + */
|
| + get buttons() {
|
| + var rebootButton = this.ownerDocument.createElement('button');
|
| + rebootButton.id = 'reboot-button';
|
| + rebootButton.textContent =
|
| + loadTimeData.getString('errorTpmFailureRebootButton');
|
| + rebootButton.addEventListener('click', function() {
|
| + chrome.send('rebootSystem');
|
| + });
|
| + return [rebootButton];
|
| + },
|
| };
|
|
|
| /**
|
|
|