| Index: ash/system/overview/overview_button_tray.h
|
| diff --git a/ash/system/overview/overview_button_tray.h b/ash/system/overview/overview_button_tray.h
|
| index 0a16e4781f99bb90ae337634bc2561e9b498e91b..fe9ff46ace7fa5434f7f4afe5def923fa5d44949 100644
|
| --- a/ash/system/overview/overview_button_tray.h
|
| +++ b/ash/system/overview/overview_button_tray.h
|
| @@ -40,6 +40,10 @@ class ASH_EXPORT OverviewButtonTray : public internal::TrayBackgroundView,
|
| const views::TrayBubbleView* bubble_view) OVERRIDE;
|
| virtual void SetShelfAlignment(ShelfAlignment alignment) OVERRIDE;
|
|
|
| + // Updates the tray's visibility based on the LoginStatus and the current
|
| + // state of MaximizeMode
|
| + virtual void UpdateAfterLoginStatusChange(user::LoginStatus status);
|
| +
|
| private:
|
| friend class OverviewButtonTrayTest;
|
|
|
| @@ -47,6 +51,9 @@ class ASH_EXPORT OverviewButtonTray : public internal::TrayBackgroundView,
|
| // alignment of the shelf.
|
| void SetIconBorderForShelfAlignment();
|
|
|
| + // Returns true if LoginStatus is any form of a user being logged in.
|
| + bool ShouldBeVisibleForLoginStatus(user::LoginStatus status);
|
| +
|
| // Weak pointer, will be parented by TrayContainer for its lifetime.
|
| views::ImageView* icon_;
|
|
|
|
|