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

Unified Diff: content/browser/accessibility/browser_accessibility_cocoa.mm

Issue 8749014: The Mac accessibility impl should defer to BrowserAccessibilityManager... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility_cocoa.mm
===================================================================
--- content/browser/accessibility/browser_accessibility_cocoa.mm (revision 111700)
+++ content/browser/accessibility/browser_accessibility_cocoa.mm (working copy)
@@ -427,8 +427,9 @@
}
- (NSNumber*)focused {
+ BrowserAccessibilityManager* manager = browserAccessibility_->manager();
NSNumber* ret = [NSNumber numberWithBool:
- GetState(browserAccessibility_, WebAccessibility::STATE_FOCUSED)];
+ manager->GetFocus(NULL) == browserAccessibility_];
David Tseng 2011/11/30 20:49:33 question: do we ever care that the previously focu
dmazzoni 2011/11/30 22:02:27 This change means that we're basically ignoring wh
return ret;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698