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

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

Issue 107103004: Implement the spring charger replacement UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Point iFrame to production site. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.cc ('k') | chrome/app/chromeos_strings.grdp » ('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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 // Shows information about enterprise enrolled devices. 200 // Shows information about enterprise enrolled devices.
201 virtual void ShowEnterpriseInfo() = 0; 201 virtual void ShowEnterpriseInfo() = 0;
202 202
203 // Shows information about locally managed users. 203 // Shows information about locally managed users.
204 virtual void ShowLocallyManagedUserInfo() = 0; 204 virtual void ShowLocallyManagedUserInfo() = 0;
205 205
206 // Shows login UI to add other users to this session. 206 // Shows login UI to add other users to this session.
207 virtual void ShowUserLogin() = 0; 207 virtual void ShowUserLogin() = 0;
208 208
209 // Shows the spring charger replacement dialog if necessary.
210 virtual void ShowSpringChargerReplacementDialog() = 0;
211
212 // True if user has confirmed using safe spring charger.
213 virtual bool HasUserConfirmedSafeSpringCharger() = 0;
214
209 // Attempts to shut down the system. 215 // Attempts to shut down the system.
210 virtual void ShutDown() = 0; 216 virtual void ShutDown() = 0;
211 217
212 // Attempts to sign out the user. 218 // Attempts to sign out the user.
213 virtual void SignOut() = 0; 219 virtual void SignOut() = 0;
214 220
215 // Attempts to lock the screen. 221 // Attempts to lock the screen.
216 virtual void RequestLockScreen() = 0; 222 virtual void RequestLockScreen() = 0;
217 223
218 // Attempts to restart the system for update. 224 // Attempts to restart the system for update.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 // Retrieves the session length limit. Returns |false| if no limit is set. 312 // Retrieves the session length limit. Returns |false| if no limit is set.
307 virtual bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) = 0; 313 virtual bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) = 0;
308 314
309 // Get the system tray menu size in pixels (dependent on the language). 315 // Get the system tray menu size in pixels (dependent on the language).
310 virtual int GetSystemTrayMenuWidth() = 0; 316 virtual int GetSystemTrayMenuWidth() = 0;
311 }; 317 };
312 318
313 } // namespace ash 319 } // namespace ash
314 320
315 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 321 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.cc ('k') | chrome/app/chromeos_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698