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

Side by Side Diff: ash/system/tray/default_system_tray_delegate.cc

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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/system/tray/default_system_tray_delegate.h" 5 #include "ash/system/tray/default_system_tray_delegate.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "ash/session/session_state_delegate.h" 9 #include "ash/session/session_state_delegate.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 void DefaultSystemTrayDelegate::ShowEnterpriseInfo() { 145 void DefaultSystemTrayDelegate::ShowEnterpriseInfo() {
146 } 146 }
147 147
148 void DefaultSystemTrayDelegate::ShowSupervisedUserInfo() { 148 void DefaultSystemTrayDelegate::ShowSupervisedUserInfo() {
149 } 149 }
150 150
151 void DefaultSystemTrayDelegate::ShowUserLogin() { 151 void DefaultSystemTrayDelegate::ShowUserLogin() {
152 } 152 }
153 153
154 void DefaultSystemTrayDelegate::Restart() {
155 }
156
154 void DefaultSystemTrayDelegate::ShutDown() { 157 void DefaultSystemTrayDelegate::ShutDown() {
155 } 158 }
156 159
157 void DefaultSystemTrayDelegate::SignOut() { 160 void DefaultSystemTrayDelegate::SignOut() {
158 } 161 }
159 162
160 void DefaultSystemTrayDelegate::RequestLockScreen() { 163 void DefaultSystemTrayDelegate::RequestLockScreen() {
161 } 164 }
162 165
163 void DefaultSystemTrayDelegate::RequestRestartForUpdate() { 166 void DefaultSystemTrayDelegate::RequestRestartForUpdate() {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 } 264 }
262 265
263 void DefaultSystemTrayDelegate::AddCustodianInfoTrayObserver( 266 void DefaultSystemTrayDelegate::AddCustodianInfoTrayObserver(
264 CustodianInfoTrayObserver* observer) { 267 CustodianInfoTrayObserver* observer) {
265 } 268 }
266 269
267 void DefaultSystemTrayDelegate::RemoveCustodianInfoTrayObserver( 270 void DefaultSystemTrayDelegate::RemoveCustodianInfoTrayObserver(
268 CustodianInfoTrayObserver* observer) { 271 CustodianInfoTrayObserver* observer) {
269 } 272 }
270 273
274 void DefaultSystemTrayDelegate::AddShutdownPolicyObserver(
275 ShutdownPolicyObserver* observer) {
276 }
277
278 void DefaultSystemTrayDelegate::ShouldRebootOnShutdown(
279 const RebootOnShutdownCallback& callback) {
280 }
281
282 void DefaultSystemTrayDelegate::RemoveShutdownPolicyObserver(
283 ShutdownPolicyObserver* observer) {
284 }
285
271 } // namespace ash 286 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698