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..9007f0a73040c77290adf7ac98cb9551c7d8031d 100644 |
--- a/ash/system/overview/overview_button_tray.h |
+++ b/ash/system/overview/overview_button_tray.h |
@@ -26,6 +26,10 @@ class ASH_EXPORT OverviewButtonTray : public internal::TrayBackgroundView, |
explicit OverviewButtonTray(internal::StatusAreaWidget* status_area_widget); |
virtual ~OverviewButtonTray(); |
+ // Updates the tray's visibility based on the LoginStatus and the current |
+ // state of MaximizeMode |
+ virtual void UpdateAfterLoginStatusChange(user::LoginStatus status); |
+ |
// internal::ActionableView: |
virtual bool PerformAction(const ui::Event& event) OVERRIDE; |
@@ -47,6 +51,10 @@ class ASH_EXPORT OverviewButtonTray : public internal::TrayBackgroundView, |
// alignment of the shelf. |
void SetIconBorderForShelfAlignment(); |
+ // Sets the icon to visible if |maximize_mode_enabled| and |
+ // WindowSelectorController::CanSelect. |
+ void UpdateIconVisibility(bool maximize_mode_enabled); |
+ |
// Weak pointer, will be parented by TrayContainer for its lifetime. |
views::ImageView* icon_; |