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

Unified Diff: ash/system/tray/tray_item_more.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/tray/tray_item_more.h
diff --git a/ash/system/tray/tray_item_more.h b/ash/system/tray/tray_item_more.h
index ca20f452e66b238afe8926da0eb224966393fd5b..4a7db9146e1f24ba19f080b7bd512e16ebf19d76 100644
--- a/ash/system/tray/tray_item_more.h
+++ b/ash/system/tray/tray_item_more.h
@@ -27,6 +27,8 @@ class TrayItemMore : public ActionableView {
TrayItemMore(SystemTrayItem* owner, bool show_more);
virtual ~TrayItemMore();
+ SystemTrayItem* owner() const { return owner_; }
+
void SetLabel(const string16& label);
void SetImage(const gfx::ImageSkia* image_skia);
void SetAccessibleName(const string16& name);

Powered by Google App Engine
This is Rietveld 408576698