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

Unified Diff: ash/system/bluetooth/tray_bluetooth.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
Index: ash/system/bluetooth/tray_bluetooth.h
diff --git a/ash/system/bluetooth/tray_bluetooth.h b/ash/system/bluetooth/tray_bluetooth.h
index 2ae655b0b4e1723f4464ce40d16617daac9f21db..20509c863f6ffe0add8959d43ebb200bb709a170 100644
--- a/ash/system/bluetooth/tray_bluetooth.h
+++ b/ash/system/bluetooth/tray_bluetooth.h
@@ -9,6 +9,9 @@
#include "ash/system/tray/system_tray_item.h"
namespace ash {
+
+class SystemTray;
+
namespace internal {
namespace tray {
@@ -19,7 +22,7 @@ class BluetoothDetailedView;
class TrayBluetooth : public SystemTrayItem,
public BluetoothObserver {
public:
- TrayBluetooth();
+ explicit TrayBluetooth(SystemTray* system_tray);
virtual ~TrayBluetooth();
private:

Powered by Google App Engine
This is Rietveld 408576698