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

Issue 849143003: Fix focus and bounds calculations for guest frames. (Closed)

Created:
5 years, 11 months ago by dmazzoni
Modified:
5 years, 11 months ago
Reviewers:
David Tseng, aboxhall
CC:
chromium-reviews, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, jam, yuzo+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix focus and bounds calculations for guest frames. Two fixes for accessibility of out-of-process iframes and guest frames (e.g. <webview>): 1. BrowserAccessibilityManager::GetFocus should return the focused node from a child frame. 2. BrowserAccessibilityManager::GetLocalBoundsRect and BrowserAccessibilityCocoa::pointInScreen need to correctly take child frames into account. This is sufficient for correct spoken feedback and UI element bounding rects in VoiceOver when tabbing into and out of an out-of-process iframe or <webview> guest frame. There may be other bugs, but simple examples work in VoiceOver now. BUG=330307, 368298 Committed: https://crrev.com/e8091802505a507bb6c11683fe77cf7b1d455e6d Cr-Commit-Position: refs/heads/master@{#311777}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -8 lines) Patch
M content/browser/accessibility/browser_accessibility.h View 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.cc View 1 3 chunks +16 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_cocoa.mm View 1 2 chunks +17 lines, -3 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.cc View 1 chunk +17 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
dmazzoni
5 years, 11 months ago (2015-01-14 23:24:08 UTC) #2
aboxhall
lgtm https://codereview.chromium.org/849143003/diff/1/content/browser/accessibility/browser_accessibility.cc File content/browser/accessibility/browser_accessibility.cc (right): https://codereview.chromium.org/849143003/diff/1/content/browser/accessibility/browser_accessibility.cc#newcode733 content/browser/accessibility/browser_accessibility.cc:733: return NULL; Totally fine if you want to ...
5 years, 11 months ago (2015-01-15 05:08:25 UTC) #4
dmazzoni
https://codereview.chromium.org/849143003/diff/1/content/browser/accessibility/browser_accessibility.cc File content/browser/accessibility/browser_accessibility.cc (right): https://codereview.chromium.org/849143003/diff/1/content/browser/accessibility/browser_accessibility.cc#newcode733 content/browser/accessibility/browser_accessibility.cc:733: return NULL; On 2015/01/15 05:08:25, aboxhall wrote: > Totally ...
5 years, 11 months ago (2015-01-15 21:02:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/849143003/20001
5 years, 11 months ago (2015-01-15 21:03:19 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/23001)
5 years, 11 months ago (2015-01-15 22:52:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/849143003/20001
5 years, 11 months ago (2015-01-15 23:28:39 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 11 months ago (2015-01-16 00:34:10 UTC) #12
commit-bot: I haz the power
5 years, 11 months ago (2015-01-16 00:35:42 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e8091802505a507bb6c11683fe77cf7b1d455e6d
Cr-Commit-Position: refs/heads/master@{#311777}

Powered by Google App Engine
This is Rietveld 408576698