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

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

Issue 871483003: Add device policy to disallow shutdown - WebUI modifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed browsertest Created 5 years, 11 months 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 405c0a91e18604e27e6471cd01c8b589a76c63d1..1fcccddaea9e29c44e214998ac680252c9dc500f 100644
--- a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h
@@ -61,6 +61,11 @@ class CoreOobeHandler : public BaseScreenHandler,
return show_oobe_ui_;
}
+ // If |reboot_on_shutdown| is true, the reboot button becomes visible
+ // and the shutdown button is hidden. Vice versa if |reboot_on_shutdown| is
+ // false.
+ void UpdateShutdownAndRebootVisibility(bool reboot_on_shutdown);
+
private:
// CoreOobeActor implementation:
void ShowSignInError(int login_attempts,

Powered by Google App Engine
This is Rietveld 408576698