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

Unified Diff: ash/system/settings/tray_settings.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: Removed unnecessary forward declarations. Renamed |tray| to |owner|. 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/settings/tray_settings.h
diff --git a/ash/system/settings/tray_settings.h b/ash/system/settings/tray_settings.h
index 9bfeca3ffdd31ffbed1bc5e4d03d908f75aaaf3b..ed9c01577d4a16597725ab8aba13878fc9642fea 100644
--- a/ash/system/settings/tray_settings.h
+++ b/ash/system/settings/tray_settings.h
@@ -18,7 +18,7 @@ class SettingsDefaultView;
class TraySettings : public SystemTrayItem,
public PowerStatusObserver {
public:
- TraySettings();
+ explicit TraySettings(SystemTray* system_tray);
virtual ~TraySettings();
private:

Powered by Google App Engine
This is Rietveld 408576698