Index: ash/system/tray_accessibility.cc |
diff --git a/ash/system/tray_accessibility.cc b/ash/system/tray_accessibility.cc |
index b3a57e8d710cadd5dfb2bed7ffd3c4c8fa9e2ca7..810c5aa5c6301ee3fcd55e34089788d879c979d3 100644 |
--- a/ash/system/tray_accessibility.cc |
+++ b/ash/system/tray_accessibility.cc |
@@ -6,6 +6,7 @@ |
#include "ash/accessibility_delegate.h" |
#include "ash/metrics/user_metrics_recorder.h" |
+#include "ash/session/session_state_delegate.h" |
#include "ash/shell.h" |
#include "ash/system/tray/hover_highlight_view.h" |
#include "ash/system/tray/system_tray.h" |
@@ -208,8 +209,9 @@ void AccessibilityDetailedView::AppendAccessibilityList() { |
void AccessibilityDetailedView::AppendHelpEntries() { |
// Currently the help page requires a browser window. |
// TODO(yoshiki): show this even on login/lock screen. crbug.com/158286 |
- if (login_ == user::LOGGED_IN_NONE || |
- login_ == user::LOGGED_IN_LOCKED) |
+ if (login_ == user::LOGGED_IN_NONE || login_ == user::LOGGED_IN_LOCKED || |
+ ash::Shell::GetInstance()->session_state_delegate()->GetSessionState() == |
+ ash::SessionStateDelegate::SESSION_STATE_LOGIN_SECONDARY) |
return; |
views::View* bottom_row = new View(); |