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

Unified Diff: ash/system/audio/tray_volume.h

Issue 11415014: Stop using shell::GetInstance()->system_tray() in system tray items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Modified CL to provide TrayItems and Tray*Views with parent pointers instead. Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/system/audio/tray_volume.cc » ('j') | ash/system/bluetooth/tray_bluetooth.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/audio/tray_volume.h
diff --git a/ash/system/audio/tray_volume.h b/ash/system/audio/tray_volume.h
index ddb9fd1c2192d335c1a3d80dc5502e713de25c49..4afe1f7badf217d95a02098de169bf0cd355b8e1 100644
--- a/ash/system/audio/tray_volume.h
+++ b/ash/system/audio/tray_volume.h
@@ -9,6 +9,9 @@
#include "ash/system/tray/tray_image_item.h"
namespace ash {
+
+class SystemTray;
stevenjb 2012/11/16 17:41:43 nit: SystemTray is part of the base class construc
bartfab (slow) 2012/11/16 18:45:34 Done.
+
namespace internal {
namespace tray {
@@ -18,7 +21,7 @@ class VolumeView;
class TrayVolume : public TrayImageItem,
public AudioObserver {
public:
- TrayVolume();
+ explicit TrayVolume(SystemTray* system_tray);
virtual ~TrayVolume();
private:
« no previous file with comments | « no previous file | ash/system/audio/tray_volume.cc » ('j') | ash/system/bluetooth/tray_bluetooth.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698