Chromium Code Reviews| Index: ash/system/tray/system_tray.cc |
| diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc |
| index 715c7afa7aae85c1acf8096dd12a60ea9115d743..2cdb6da573b9538c5186615add65af5e44507a41 100644 |
| --- a/ash/system/tray/system_tray.cc |
| +++ b/ash/system/tray/system_tray.cc |
| @@ -99,8 +99,10 @@ class SystemBubbleWrapper { |
| is_persistent_ = is_persistent; |
| // If ChromeVox is enabled, focus the default item if no item is focused. |
| - if (Shell::GetInstance()->accessibility_delegate()-> |
| - IsSpokenFeedbackEnabled()) { |
| + if (Shell::GetInstance() |
| + ->accessibility_delegate() |
| + ->IsSpokenFeedbackEnabled() && |
| + !is_persistent) { |
|
oshima
2015/12/15 23:52:39
Am I correct that we do not want to set the focus
David Tseng
2015/12/16 16:47:49
That's correct. The semantics are important here.
|
| bubble_->FocusDefaultIfNeeded(); |
| } |
| } |