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

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

Issue 731663002: Remove Yoshi charger recall pop up warning UI code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deprecat the related UMA metrics in histograms.xml. Created 6 years, 1 month 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') | 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 // Shows information about enterprise enrolled devices. 193 // Shows information about enterprise enrolled devices.
194 virtual void ShowEnterpriseInfo() = 0; 194 virtual void ShowEnterpriseInfo() = 0;
195 195
196 // Shows information about supervised users. 196 // Shows information about supervised users.
197 virtual void ShowSupervisedUserInfo() = 0; 197 virtual void ShowSupervisedUserInfo() = 0;
198 198
199 // Shows login UI to add other users to this session. 199 // Shows login UI to add other users to this session.
200 virtual void ShowUserLogin() = 0; 200 virtual void ShowUserLogin() = 0;
201 201
202 // Shows the spring charger replacement dialog if necessary.
203 // Returns true if the dialog is shown by the call.
204 virtual bool ShowSpringChargerReplacementDialog() = 0;
205
206 // True if the spring charger replacement dialog is visible.
207 virtual bool IsSpringChargerReplacementDialogVisible() = 0;
208
209 // True if user has confirmed using safe spring charger.
210 virtual bool HasUserConfirmedSafeSpringCharger() = 0;
211
212 // Attempts to shut down the system. 202 // Attempts to shut down the system.
213 virtual void ShutDown() = 0; 203 virtual void ShutDown() = 0;
214 204
215 // Attempts to sign out the user. 205 // Attempts to sign out the user.
216 virtual void SignOut() = 0; 206 virtual void SignOut() = 0;
217 207
218 // Attempts to lock the screen. 208 // Attempts to lock the screen.
219 virtual void RequestLockScreen() = 0; 209 virtual void RequestLockScreen() = 0;
220 210
221 // Attempts to restart the system for update. 211 // Attempts to restart the system for update.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 virtual void AddCustodianInfoTrayObserver( 295 virtual void AddCustodianInfoTrayObserver(
306 CustodianInfoTrayObserver* observer) = 0; 296 CustodianInfoTrayObserver* observer) = 0;
307 297
308 virtual void RemoveCustodianInfoTrayObserver( 298 virtual void RemoveCustodianInfoTrayObserver(
309 CustodianInfoTrayObserver* observer) = 0; 299 CustodianInfoTrayObserver* observer) = 0;
310 }; 300 };
311 301
312 } // namespace ash 302 } // namespace ash
313 303
314 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 304 #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