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

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

Issue 2217713002: Remove the system menu display settings row (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 virtual void RemoveShutdownPolicyObserver(ShutdownPolicyObserver* observer); 307 virtual void RemoveShutdownPolicyObserver(ShutdownPolicyObserver* observer);
308 308
309 // Determines whether the device is automatically rebooted when shut down as 309 // Determines whether the device is automatically rebooted when shut down as
310 // specified by the device policy |DeviceRebootOnShutdown|. This function 310 // specified by the device policy |DeviceRebootOnShutdown|. This function
311 // asynchronously calls |callback| once a trusted policy becomes available. 311 // asynchronously calls |callback| once a trusted policy becomes available.
312 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback); 312 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback);
313 313
314 // Returns VPNDelegate. May return nullptr. 314 // Returns VPNDelegate. May return nullptr.
315 virtual VPNDelegate* GetVPNDelegate() const; 315 virtual VPNDelegate* GetVPNDelegate() const;
316 316
317 // Creates a system tray item for display settings.
318 // TODO(jamescook): Remove this when mus has support for display management
319 // and we have a DisplayManager equivalent. See http://crbug.com/548429
320 virtual std::unique_ptr<SystemTrayItem> CreateDisplayTrayItem(
321 SystemTray* tray);
322
323 // Creates a system tray item for display rotation lock. 317 // Creates a system tray item for display rotation lock.
324 // TODO(jamescook): Remove this when mus has support for display management 318 // TODO(jamescook): Remove this when mus has support for display management
325 // and we have a DisplayManager equivalent. See http://crbug.com/548429 319 // and we have a DisplayManager equivalent. See http://crbug.com/548429
326 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( 320 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem(
327 SystemTray* tray); 321 SystemTray* tray);
328 }; 322 };
329 323
330 } // namespace ash 324 } // namespace ash
331 325
332 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 326 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698