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

Unified Diff: ash/system/tray/system_tray.h

Issue 2857103007: [Night Light] CL2: Ash and system tray work (Closed)
Patch Set: Update comment Created 3 years, 7 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
« no previous file with comments | « ash/system/tiles/tray_tiles_unittest.cc ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.h
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h
index 5e5244d1441954ae5ebddf7339ddf1c5bf2d94d2..bffa9e7117b521799fd652fd1f10e51ae2728606 100644
--- a/ash/system/tray/system_tray.h
+++ b/ash/system/tray/system_tray.h
@@ -29,6 +29,7 @@ class TrayAudio;
class TrayCast;
class TrayEnterprise;
class TrayNetwork;
+class TrayNightLight;
class TraySupervisedUser;
class TraySystemInfo;
class TrayTiles;
@@ -49,6 +50,8 @@ class ASH_EXPORT SystemTray : public TrayBackgroundView,
TrayUpdate* tray_update() { return tray_update_; }
+ TrayNightLight* tray_night_light() { return tray_night_light_; }
+
// Calls TrayBackgroundView::Initialize(), creates the tray items, and
// adds them to SystemTrayNotifier.
void InitializeTrayItems(SystemTrayDelegate* delegate,
@@ -234,6 +237,7 @@ class ASH_EXPORT SystemTray : public TrayBackgroundView,
TraySupervisedUser* tray_supervised_user_ = nullptr;
TraySystemInfo* tray_system_info_ = nullptr;
TrayUpdate* tray_update_ = nullptr;
+ TrayNightLight* tray_night_light_ = nullptr;
// A reference to the Screen share and capture item.
ScreenTrayItem* screen_capture_tray_item_ = nullptr; // not owned
« no previous file with comments | « ash/system/tiles/tray_tiles_unittest.cc ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698