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

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

Issue 2064953002: mash: Migrate tray date view to //ash/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trayviews
Patch Set: review feedback Created 4 years, 6 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/common/system/date/clock_observer.h ('k') | ash/common/system/tray/system_tray_delegate.cc » ('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_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 // Attempts to sign out the user. 226 // Attempts to sign out the user.
227 virtual void SignOut(); 227 virtual void SignOut();
228 228
229 // Attempts to lock the screen. 229 // Attempts to lock the screen.
230 virtual void RequestLockScreen(); 230 virtual void RequestLockScreen();
231 231
232 // Attempts to restart the system for update. 232 // Attempts to restart the system for update.
233 virtual void RequestRestartForUpdate(); 233 virtual void RequestRestartForUpdate();
234 234
235 // Attempts to shut down the system.
236 virtual void RequestShutdown();
237
235 // Returns a list of available bluetooth devices. 238 // Returns a list of available bluetooth devices.
236 virtual void GetAvailableBluetoothDevices(BluetoothDeviceList* devices); 239 virtual void GetAvailableBluetoothDevices(BluetoothDeviceList* devices);
237 240
238 // Requests bluetooth start discovering devices. 241 // Requests bluetooth start discovering devices.
239 virtual void BluetoothStartDiscovering(); 242 virtual void BluetoothStartDiscovering();
240 243
241 // Requests bluetooth stop discovering devices. 244 // Requests bluetooth stop discovering devices.
242 virtual void BluetoothStopDiscovering(); 245 virtual void BluetoothStopDiscovering();
243 246
244 // Connect to a specific bluetooth device. 247 // Connect to a specific bluetooth device.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 // asynchronously calls |callback| once a trusted policy becomes available. 336 // asynchronously calls |callback| once a trusted policy becomes available.
334 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback); 337 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback);
335 338
336 // Returns VPNDelegate. May return nullptr. 339 // Returns VPNDelegate. May return nullptr.
337 virtual VPNDelegate* GetVPNDelegate() const; 340 virtual VPNDelegate* GetVPNDelegate() const;
338 }; 341 };
339 342
340 } // namespace ash 343 } // namespace ash
341 344
342 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 345 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/common/system/date/clock_observer.h ('k') | ash/common/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698