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

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: Fix single-letter typo :(. 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 | « ash/system/tray/tray_image_item.cc ('k') | ash/system/tray/tray_item_more.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ash/system/tray/tray_image_item.cc ('k') | ash/system/tray/tray_item_more.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698