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

Issue 799633007: Make Windows accessibility event firing aware of guest / child frames. (Closed)

Created:
5 years, 11 months ago by dmazzoni
Modified:
5 years, 11 months ago
Reviewers:
David Tseng, nasko
CC:
chromium-reviews, creis+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nasko+codewatch_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@webview_fixes
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make Windows accessibility event firing aware of guest / child frames. Windows-specific fixes for accessibility of out-of-process iframes and guest frames (e.g. <webview>): 1. When firing an event or doing a bounds calculation, we need to call functions on the root BrowserAccessibilityManager's delegate (not on the child frame's delegate). 2. When a MSAA client tries to look up an MSAA object by child ID, we need to search child frames as well. BUG=330307, 368298 Committed: https://crrev.com/28060a875c0a7fb9bbfe06a0057b4321518599a7 Cr-Commit-Position: refs/heads/master@{#312080}

Patch Set 1 #

Total comments: 27

Patch Set 2 : Address feedback #

Total comments: 6

Patch Set 3 : Address more feedback #

Total comments: 4

Patch Set 4 : Address last comments #

Patch Set 5 : Rebase #

Patch Set 6 : Remove autosave file #

Patch Set 7 : Fix typo #

Patch Set 8 : Fix crash due to no root node in the middle of an update #

Patch Set 9 : Fix Mac compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -47 lines) Patch
M content/browser/accessibility/browser_accessibility_cocoa.mm View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -8 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.h View 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.cc View 1 2 3 4 5 6 7 2 chunks +16 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_win.cc View 1 4 chunks +22 lines, -5 lines 0 comments Download
M content/browser/frame_host/frame_accessibility.h View 1 2 2 chunks +27 lines, -0 lines 0 comments Download
M content/browser/frame_host/frame_accessibility.cc View 1 2 3 5 chunks +52 lines, -18 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 2 chunks +26 lines, -14 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
dmazzoni
5 years, 11 months ago (2015-01-15 18:33:50 UTC) #2
nasko
https://codereview.chromium.org/799633007/diff/1/content/browser/frame_host/frame_accessibility.cc File content/browser/frame_host/frame_accessibility.cc (right): https://codereview.chromium.org/799633007/diff/1/content/browser/frame_host/frame_accessibility.cc#newcode203 content/browser/frame_host/frame_accessibility.cc:203: return NULL; s/NULL/nullptr/ https://codereview.chromium.org/799633007/diff/1/content/browser/frame_host/frame_accessibility.cc#newcode209 content/browser/frame_host/frame_accessibility.cc:209: return NULL; s/NULL/nullptr/ https://codereview.chromium.org/799633007/diff/1/content/browser/frame_host/frame_accessibility.cc#newcode212 ...
5 years, 11 months ago (2015-01-15 21:44:38 UTC) #3
David Tseng
lgtm for accessibility related code https://codereview.chromium.org/799633007/diff/1/content/browser/accessibility/browser_accessibility_manager.cc File content/browser/accessibility/browser_accessibility_manager.cc (right): https://codereview.chromium.org/799633007/diff/1/content/browser/accessibility/browser_accessibility_manager.cc#newcode439 content/browser/accessibility/browser_accessibility_manager.cc:439: BrowserAccessibility* root = GetRoot(); ...
5 years, 11 months ago (2015-01-15 22:33:27 UTC) #4
dmazzoni
https://codereview.chromium.org/799633007/diff/1/content/browser/accessibility/browser_accessibility_manager.cc File content/browser/accessibility/browser_accessibility_manager.cc (right): https://codereview.chromium.org/799633007/diff/1/content/browser/accessibility/browser_accessibility_manager.cc#newcode439 content/browser/accessibility/browser_accessibility_manager.cc:439: BrowserAccessibility* root = GetRoot(); On 2015/01/15 22:33:27, David Tseng ...
5 years, 11 months ago (2015-01-15 23:09:23 UTC) #5
nasko
https://codereview.chromium.org/799633007/diff/1/content/browser/frame_host/frame_accessibility.cc File content/browser/frame_host/frame_accessibility.cc (right): https://codereview.chromium.org/799633007/diff/1/content/browser/frame_host/frame_accessibility.cc#newcode212 content/browser/frame_host/frame_accessibility.cc:212: return child_node->current_frame_host(); On 2015/01/15 23:09:22, dmazzoni wrote: > On ...
5 years, 11 months ago (2015-01-16 00:20:33 UTC) #6
dmazzoni
https://codereview.chromium.org/799633007/diff/20001/content/browser/frame_host/frame_accessibility.cc File content/browser/frame_host/frame_accessibility.cc (right): https://codereview.chromium.org/799633007/diff/20001/content/browser/frame_host/frame_accessibility.cc#newcode164 content/browser/frame_host/frame_accessibility.cc:164: // We should have gotten a node in the ...
5 years, 11 months ago (2015-01-16 17:44:56 UTC) #7
dmazzoni
On 2015/01/16 00:20:33, nasko wrote: > > > There is no verification that the frame ...
5 years, 11 months ago (2015-01-16 17:45:00 UTC) #8
nasko
LGTM https://codereview.chromium.org/799633007/diff/40001/content/browser/frame_host/frame_accessibility.cc File content/browser/frame_host/frame_accessibility.cc (right): https://codereview.chromium.org/799633007/diff/40001/content/browser/frame_host/frame_accessibility.cc#newcode207 content/browser/frame_host/frame_accessibility.cc:207: return false; Why return false? The return value ...
5 years, 11 months ago (2015-01-16 20:12:55 UTC) #9
nasko
On 2015/01/16 17:45:00, dmazzoni wrote: > > Thanks! It is a lot better. I'm curious ...
5 years, 11 months ago (2015-01-16 20:13:57 UTC) #10
dmazzoni
https://codereview.chromium.org/799633007/diff/40001/content/browser/frame_host/frame_accessibility.cc File content/browser/frame_host/frame_accessibility.cc (right): https://codereview.chromium.org/799633007/diff/40001/content/browser/frame_host/frame_accessibility.cc#newcode207 content/browser/frame_host/frame_accessibility.cc:207: return false; On 2015/01/16 20:12:55, nasko wrote: > Why ...
5 years, 11 months ago (2015-01-16 20:20:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/799633007/160001
5 years, 11 months ago (2015-01-19 06:42:29 UTC) #13
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 11 months ago (2015-01-19 08:27:10 UTC) #14
commit-bot: I haz the power
5 years, 11 months ago (2015-01-19 08:28:21 UTC) #15
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/28060a875c0a7fb9bbfe06a0057b4321518599a7
Cr-Commit-Position: refs/heads/master@{#312080}

Powered by Google App Engine
This is Rietveld 408576698