Index: ash/system/tray/system_tray.h |
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h |
index 2df725daac7d7a614633c59cb7d3afc805a0c9e8..301ef130d95be17130a2372d5fba68a82e1213c9 100644 |
--- a/ash/system/tray/system_tray.h |
+++ b/ash/system/tray/system_tray.h |
@@ -20,6 +20,7 @@ |
#include <vector> |
namespace ash { |
+class ScreenTrayItem; |
class SystemBubbleWrapper; |
class SystemTrayDelegate; |
class SystemTrayItem; |
@@ -141,6 +142,9 @@ class ASH_EXPORT SystemTray : public TrayBackgroundView, |
AnchorAlignment anchor_alignment) const OVERRIDE; |
virtual void HideBubble(const views::TrayBubbleView* bubble_view) OVERRIDE; |
+ ScreenTrayItem* GetScreenShareItem() { return screen_share_tray_item_; } |
+ ScreenTrayItem* GetScreenCaptureItem() { return screen_capture_tray_item_; } |
+ |
TrayAccessibility* GetTrayAccessibilityForTest() { |
return tray_accessibility_; |
} |
@@ -232,6 +236,10 @@ class ASH_EXPORT SystemTray : public TrayBackgroundView, |
TrayAccessibility* tray_accessibility_; // not owned |
TrayDate* tray_date_; |
+ // A reference to the Screen share and capture item. |
+ ScreenTrayItem* screen_capture_tray_item_; // not owned |
+ ScreenTrayItem* screen_share_tray_item_; // not owned |
+ |
DISALLOW_COPY_AND_ASSIGN(SystemTray); |
}; |