Commit 3a3619dc authored by zork@chromium.org's avatar zork@chromium.org

Only focus the default item in the system tray when spoken feedback is enabled

BUG=315302

Review URL: https://codereview.chromium.org/60203005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233463 0039d316-1c4b-4281-b951-d872f2087c98
parent b7ebe4de
......@@ -99,7 +99,12 @@ class SystemBubbleWrapper {
views::BubbleBorder::PAINT_NONE);
}
is_persistent_ = is_persistent;
bubble_->FocusDefault();
// If ChromeVox is enabled, focus the default item.
AccessibilityDelegate* delegate =
Shell::GetInstance()->accessibility_delegate();
if (delegate->IsSpokenFeedbackEnabled())
bubble_->FocusDefault();
}
// Convenience accessors:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment