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

Side by Side Diff: ash/system/tray/system_tray_delegate.h

Issue 811283003: Clean-up of the system shutdown code paths (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: alignment fixes, rebase 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 unified diff | Download patch
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.cc ('k') | ash/test/test_system_tray_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 // Shows information about enterprise enrolled devices. 199 // Shows information about enterprise enrolled devices.
200 virtual void ShowEnterpriseInfo() = 0; 200 virtual void ShowEnterpriseInfo() = 0;
201 201
202 // Shows information about supervised users. 202 // Shows information about supervised users.
203 virtual void ShowSupervisedUserInfo() = 0; 203 virtual void ShowSupervisedUserInfo() = 0;
204 204
205 // Shows login UI to add other users to this session. 205 // Shows login UI to add other users to this session.
206 virtual void ShowUserLogin() = 0; 206 virtual void ShowUserLogin() = 0;
207 207
208 // Attempts to shut down the system.
209 virtual void ShutDown() = 0;
210
211 // Attempts to sign out the user. 208 // Attempts to sign out the user.
212 virtual void SignOut() = 0; 209 virtual void SignOut() = 0;
213 210
214 // Attempts to lock the screen. 211 // Attempts to lock the screen.
215 virtual void RequestLockScreen() = 0; 212 virtual void RequestLockScreen() = 0;
216 213
217 // Attempts to restart the system for update. 214 // Attempts to restart the system for update.
218 virtual void RequestRestartForUpdate() = 0; 215 virtual void RequestRestartForUpdate() = 0;
219 216
220 // Returns a list of available bluetooth devices. 217 // Returns a list of available bluetooth devices.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 virtual void AddCustodianInfoTrayObserver( 298 virtual void AddCustodianInfoTrayObserver(
302 CustodianInfoTrayObserver* observer) = 0; 299 CustodianInfoTrayObserver* observer) = 0;
303 300
304 virtual void RemoveCustodianInfoTrayObserver( 301 virtual void RemoveCustodianInfoTrayObserver(
305 CustodianInfoTrayObserver* observer) = 0; 302 CustodianInfoTrayObserver* observer) = 0;
306 }; 303 };
307 304
308 } // namespace ash 305 } // namespace ash
309 306
310 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 307 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.cc ('k') | ash/test/test_system_tray_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698