Chromium Code Reviews| Index: ash/system/cast/tray_cast.h |
| diff --git a/ash/system/cast/tray_cast.h b/ash/system/cast/tray_cast.h |
| index 04a4bc28a802aebee55c40818e4a36ed0e16a31e..2b167b1db97ccd5ea946aa0c79fdbe3cc2133583 100644 |
| --- a/ash/system/cast/tray_cast.h |
| +++ b/ash/system/cast/tray_cast.h |
| @@ -18,12 +18,19 @@ class CastDetailedView; |
| class CastDuplexView; |
| } // namespace tray |
| -class TrayCast : public SystemTrayItem, public ShellObserver { |
| +class ASH_EXPORT TrayCast : public SystemTrayItem, public ShellObserver { |
| public: |
| explicit TrayCast(SystemTray* system_tray); |
| ~TrayCast() override; |
| private: |
| + // Helper/utility methods for testing. |
| + friend class TrayCastTestAPI; |
| + void StartCastForTest(const std::string& receiver_id); |
| + void StopCastForTest(); |
| + enum ChildViewIds { TRAY_VIEW, SELECT_VIEW, CAST_VIEW }; |
| + views::View* FindChildViewForTest(ChildViewIds view_id) const; |
|
oshima
2015/07/18 01:09:39
can't you access view hierarchy from system_tray l
jdufault
2015/07/20 21:43:27
Done.
|
| + |
| // Overridden from SystemTrayItem. |
| views::View* CreateTrayView(user::LoginStatus status) override; |
| views::View* CreateDefaultView(user::LoginStatus status) override; |