| Index: chrome/browser/resources/chromeos/login/login_common.js
|
| diff --git a/chrome/browser/resources/chromeos/login/login_common.js b/chrome/browser/resources/chromeos/login/login_common.js
|
| index 9e4bd8f0be405836c63183b27824921bae4cac37..be1312dd3df994e74443dde48d8193150852b83a 100644
|
| --- a/chrome/browser/resources/chromeos/login/login_common.js
|
| +++ b/chrome/browser/resources/chromeos/login/login_common.js
|
| @@ -110,6 +110,16 @@ cr.define('cr.ui', function() {
|
| };
|
|
|
| /**
|
| + * When |showShutdown| is set to "true", the shutdown button is shown and the
|
| + * reboot button hidden. If set to "false", the reboot button is visible and
|
| + * the shutdown button hidden.
|
| + */
|
| + Oobe.showShutdown = function(showShutdown) {
|
| + $('login-header-bar').showShutdownButton = showShutdown;
|
| + $('login-header-bar').showRebootButton = !showShutdown;
|
| + };
|
| +
|
| + /**
|
| * Enables keyboard driven flow.
|
| */
|
| Oobe.enableKeyboardFlow = function(value) {
|
|
|