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

Unified Diff: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h

Issue 811033002: Add device policy to disallow shutdown - ash UI modifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shutdown_allowed => reboot_on_shutdown Created 6 years 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/ui/webui/chromeos/login/core_oobe_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h
index 5b0dafc76bf0e23f75abfa496621bdb9f8066080..c170133db7e59c8507cdb240a3801713df686524 100644
--- a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h
@@ -62,6 +62,11 @@ class CoreOobeHandler : public BaseScreenHandler,
return show_oobe_ui_;
}
+ // If |shutdown_button_visible| is true, the shutdown button becomes visible
+ // and the reboot button is hidden. Vice versa if |shutdown_button_visible| is
+ // false.
+ void UpdateShutdownButtonVisibility(bool shutdown_button_visible);
+
private:
// CoreOobeActor implementation:
virtual void ShowSignInError(

Powered by Google App Engine
This is Rietveld 408576698