Index: ash/system/status_area_widget.h |
diff --git a/ash/system/status_area_widget.h b/ash/system/status_area_widget.h |
index 376bbd9dde488bf37bc6de8ce8447ca2e92fa7b6..07182531b649294b408c70a0612291b3a0c1d88d 100644 |
--- a/ash/system/status_area_widget.h |
+++ b/ash/system/status_area_widget.h |
@@ -56,6 +56,9 @@ class ASH_EXPORT StatusAreaWidget : public views::Widget { |
// notification tray. |
void UpdateAfterLoginStatusChange(user::LoginStatus login_status); |
+ // Called whenever the launcher auto-hide behavior may need updating. |
+ void UpdateShouldShowLauncher(); |
+ |
internal::StatusAreaWidgetDelegate* status_area_widget_delegate() { |
return status_area_widget_delegate_; |
} |
@@ -69,6 +72,8 @@ class ASH_EXPORT StatusAreaWidget : public views::Widget { |
user::LoginStatus login_status() const { return login_status_; } |
+ bool should_show_launcher() const { return should_show_launcher_; } |
+ |
private: |
void AddSystemTray(ShellDelegate* shell_delegate); |
void AddWebNotificationTray(); |
@@ -79,6 +84,7 @@ class ASH_EXPORT StatusAreaWidget : public views::Widget { |
SystemTray* system_tray_; |
WebNotificationTray* web_notification_tray_; |
user::LoginStatus login_status_; |
+ bool should_show_launcher_; |
DISALLOW_COPY_AND_ASSIGN(StatusAreaWidget); |
}; |