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

Unified Diff: ash/common/system/tray/system_tray_delegate.h

Issue 2148943002: mash: Create system tray display and rotation lock items via delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: ash/common/system/tray/system_tray_delegate.h
diff --git a/ash/common/system/tray/system_tray_delegate.h b/ash/common/system/tray/system_tray_delegate.h
index 5c4de80ebd3808bb956f64740a727d5298067dab..93fef87ad3ba336243ac422517ef33f1e4542d60 100644
--- a/ash/common/system/tray/system_tray_delegate.h
+++ b/ash/common/system/tray/system_tray_delegate.h
@@ -29,6 +29,8 @@ namespace ash {
class CustodianInfoTrayObserver;
class ShutdownPolicyObserver;
+class SystemTray;
+class SystemTrayItem;
struct ASH_EXPORT NetworkIconInfo {
NetworkIconInfo();
@@ -183,6 +185,10 @@ class ASH_EXPORT SystemTrayDelegate {
// show the settings for the corresponding network.
virtual void ShowNetworkSettingsForGuid(const std::string& guid);
+ // Creates the system tray item for display settings.
msw 2016/07/13 18:51:49 nit: Move far down (not amid Show* functions). Des
James Cook 2016/07/13 21:30:46 Done.
+ virtual std::unique_ptr<SystemTrayItem> CreateDisplayTrayItem(
+ SystemTray* tray);
+
// Shows settings related to multiple displays.
virtual void ShowDisplaySettings();
« no previous file with comments | « no previous file | ash/common/system/tray/system_tray_delegate.cc » ('j') | ash/common/system/tray/system_tray_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698