Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(754)

Unified Diff: views/accessibility/view_accessibility.cc

Issue 2817022: Small tweaks to improve toolbar keyboard accessibility: Put focus rects... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: views/accessibility/view_accessibility.cc
===================================================================
--- views/accessibility/view_accessibility.cc (revision 50343)
+++ views/accessibility/view_accessibility.cc (working copy)
@@ -710,10 +710,8 @@
// Check both for actual View focus, as well as accessibility focus.
views::View* parent = view->GetParent();
- if (view->HasFocus() ||
- (parent && parent->GetAccFocusedChildView() == view)) {
+ if (view->HasFocus())
msaa_state->lVal |= STATE_SYSTEM_FOCUSED;
- }
// Add on any view-specific states.
AccessibilityTypes::State state;

Powered by Google App Engine
This is Rietveld 408576698