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

Issue 268543008: Cross-process iframe accessibility. (Closed)

Created:
6 years, 7 months ago by dmazzoni
Modified:
6 years, 3 months ago
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, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Cross-process iframe accessibility. This change completes the plumbing to join cross-process iframes into a single composed accessibility tree on platforms that implement native accessibility APIs (Windows, Mac, Android). Further work will be needed to update some accessibility API implementations to be multi-frame-aware. BUG=368298 Committed: https://crrev.com/387942c041da17ea6337bc0a81e96619e67e4ac4 Cr-Commit-Position: refs/heads/master@{#294118} Committed: https://crrev.com/0b5d2481a5dc4f3a1ed812b174a4da8dde1b64c2 Cr-Commit-Position: refs/heads/master@{#294210}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rewritten based on RFHI instead of RVHI #

Total comments: 38

Patch Set 3 : Address feedback #

Total comments: 18

Patch Set 4 : Rebase #

Patch Set 5 : Address more feedback #

Total comments: 11

Patch Set 6 : FindByRoutingID #

Total comments: 2

Patch Set 7 : Rebase #

Patch Set 8 : Fix compile error #

Total comments: 2

Patch Set 9 : Fix DumpAccessibilityTree iframe test #

Patch Set 10 : Better fix #

Patch Set 11 : Rebase #

Patch Set 12 : Rebase #

Patch Set 13 : WebFrame to WebLocalFrame #

Patch Set 14 : Rebase #

Patch Set 15 : Don't allow compromised renderer to crash the browser #

Patch Set 16 : Fix typo #

Patch Set 17 : Only run the test on Mac and Linux for now #

Total comments: 1

Patch Set 18 : Rebase #

Patch Set 19 : Rebase #

Patch Set 20 : Patch to re-land #

Patch Set 21 : Let's run the test only on Linux #

Patch Set 22 : Fix compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+557 lines, -117 lines) Patch
M content/browser/accessibility/accessibility_tree_formatter.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility.h View 1 2 3 4 5 6 3 chunks +18 lines, -6 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.cc View 1 2 3 4 5 6 7 8 9 5 chunks +30 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.h View 1 2 7 chunks +19 lines, -17 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.cc View 1 2 3 4 5 4 chunks +67 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_unittest.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
A content/browser/accessibility/site_per_process_accessibility_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +146 lines, -0 lines 0 comments Download
M content/browser/frame_host/frame_tree.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +18 lines, -18 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +69 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_proxy_host.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_proxy_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +29 lines, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
A content/browser/site_per_process_browsertest.h View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +36 lines, -38 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/accessibility_messages.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/accessibility/blink_ax_tree_source.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/accessibility/blink_ax_tree_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +27 lines, -6 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +3 lines, -8 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility_complete.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -5 lines 0 comments Download
M content/test/accessibility_browser_test_utils.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M content/test/accessibility_browser_test_utils.cc View 1 3 chunks +17 lines, -6 lines 0 comments Download

Messages

Total messages: 70 (10 generated)
dmazzoni
This change depends on: https://codereview.chromium.org/252253002/ creis: I think this is a good start, but I ...
6 years, 7 months ago (2014-05-02 06:24:27 UTC) #1
Charlie Reis
Cool! Thanks for working on this. I'm going to ask Nick to help with the ...
6 years, 7 months ago (2014-05-02 15:51:44 UTC) #2
dmazzoni
On Fri, May 2, 2014 at 8:51 AM, <creis@chromium.org> wrote: > Cool! Thanks for working ...
6 years, 7 months ago (2014-05-02 16:31:20 UTC) #3
Charlie Reis
On 2014/05/02 16:31:20, dmazzoni wrote: > On Fri, May 2, 2014 at 8:51 AM, <mailto:creis@chromium.org> ...
6 years, 7 months ago (2014-05-02 16:34:50 UTC) #4
ncarter (slow)
https://codereview.chromium.org/268543008/diff/1/content/browser/accessibility/frame_tree_accessibility_browsertest.cc File content/browser/accessibility/frame_tree_accessibility_browsertest.cc (right): https://codereview.chromium.org/268543008/diff/1/content/browser/accessibility/frame_tree_accessibility_browsertest.cc#newcode108 content/browser/accessibility/frame_tree_accessibility_browsertest.cc:108: bool NavigateIframeToURL(Shell* window, One OKR we have for this ...
6 years, 7 months ago (2014-05-02 19:10:01 UTC) #5
dmazzoni
Thanks for the feedback - I will get to the specific comments in this changelist ...
6 years, 7 months ago (2014-05-06 06:55:12 UTC) #6
nasko
On 2014/05/06 06:55:12, dmazzoni wrote: > Thanks for the feedback - I will get to ...
6 years, 7 months ago (2014-05-06 13:57:10 UTC) #7
dmazzoni
On Tue, May 6, 2014 at 6:57 AM, <nasko@chromium.org> wrote: > On 2014/05/06 06:55:12, dmazzoni ...
6 years, 7 months ago (2014-05-06 14:13:51 UTC) #8
chromium-reviews
Hey Dominic, Sorry for the late reply, this email somehow slipped through the cracks : ...
6 years, 7 months ago (2014-05-08 16:30:58 UTC) #9
nasko
Hey Dominic, Sorry for the late reply, this somehow slipped through the cracks : (. ...
6 years, 7 months ago (2014-05-08 16:32:54 UTC) #10
dmazzoni
On Thu, May 8, 2014 at 9:30 AM, Nasko Oskov <nasko@google.com> wrote: > InterstitialPageImpl can't ...
6 years, 7 months ago (2014-05-08 17:23:41 UTC) #11
chromium-reviews
On Thu, May 8, 2014 at 10:23 AM, Dominic Mazzoni <dmazzoni@chromium.org>wrote: > On Thu, May ...
6 years, 7 months ago (2014-05-08 17:50:50 UTC) #12
dmazzoni
On Thu, May 8, 2014 at 10:50 AM, Nasko Oskov <nasko@google.com> wrote: > WCI has ...
6 years, 7 months ago (2014-05-08 19:20:37 UTC) #13
chromium-reviews
This may be a stupid question, but is there a way to enumerate all WebContents? ...
6 years, 7 months ago (2014-05-09 16:46:48 UTC) #14
chromium-reviews
On Fri, May 9, 2014 at 9:46 AM, Dominic Mazzoni <dmazzoni@google.com> wrote: > This may ...
6 years, 7 months ago (2014-05-09 16:54:52 UTC) #15
chromium-reviews
On Fri, May 9, 2014 at 9:54 AM, Nasko Oskov <nasko@google.com> wrote: > Without changes ...
6 years, 7 months ago (2014-05-09 18:20:23 UTC) #16
Charlie Reis
On Fri, May 9, 2014 at 11:20 AM, Dominic Mazzoni <dmazzoni@google.com>wrote: > On Fri, May ...
6 years, 7 months ago (2014-05-09 19:10:26 UTC) #17
jam
On Fri, May 9, 2014 at 12:10 PM, Charlie Reis <creis@chromium.org> wrote: > > On ...
6 years, 7 months ago (2014-05-09 22:15:18 UTC) #18
chromium-reviews
On Fri, May 9, 2014 at 3:15 PM, John Abd-El-Malek <jam@chromium.org> wrote: > If the ...
6 years, 7 months ago (2014-05-09 22:22:52 UTC) #19
jam
On Fri, May 9, 2014 at 3:22 PM, Dominic Mazzoni <dmazzoni@google.com> wrote: > On Fri, ...
6 years, 7 months ago (2014-05-09 22:25:19 UTC) #20
chromium-reviews
On Fri, May 9, 2014 at 3:25 PM, John Abd-El-Malek <jam@chromium.org> wrote: > Yep, sure ...
6 years, 7 months ago (2014-05-09 22:27:41 UTC) #21
chromium-reviews
OK, this change is almost ready - I need to rebase and fix a couple ...
6 years, 7 months ago (2014-05-12 15:27:47 UTC) #22
nasko
On Mon, May 12, 2014 at 8:27 AM, Dominic Mazzoni <dmazzoni@google.com>wrote: > OK, this change ...
6 years, 7 months ago (2014-05-12 17:25:29 UTC) #23
chromium-reviews
On Mon, May 12, 2014 at 10:25 AM, Nasko Oskov <nasko@chromium.org> wrote: > >> One ...
6 years, 7 months ago (2014-05-12 17:47:25 UTC) #24
nasko
On Mon, May 12, 2014 at 10:47 AM, Dominic Mazzoni <dmazzoni@google.com>wrote: > On Mon, May ...
6 years, 7 months ago (2014-05-12 17:56:05 UTC) #25
chromium-reviews
On Mon, May 12, 2014 at 10:56 AM, Nasko Oskov <nasko@chromium.org> wrote: > Okay, so ...
6 years, 7 months ago (2014-05-12 18:03:49 UTC) #26
ncarter (slow)
Is this patch obsolete?
6 years, 4 months ago (2014-07-29 20:18:56 UTC) #27
dmazzoni
No, this is the next step, but it needs a lot of work because the ...
6 years, 4 months ago (2014-07-29 20:21:04 UTC) #28
dmazzoni
Thanks for your patience! This is ready for a fresh look. It depends on one ...
6 years, 4 months ago (2014-08-20 17:08:41 UTC) #29
Charlie Reis
Glad it's working now! I'm having a bit of trouble following how this works, though, ...
6 years, 4 months ago (2014-08-20 20:37:14 UTC) #30
dmazzoni
https://codereview.chromium.org/268543008/diff/20001/content/browser/accessibility/browser_accessibility.h File content/browser/accessibility/browser_accessibility.h (right): https://codereview.chromium.org/268543008/diff/20001/content/browser/accessibility/browser_accessibility.h#newcode34 content/browser/accessibility/browser_accessibility.h:34: // Class implementing the cross platform interface for the ...
6 years, 4 months ago (2014-08-20 20:57:18 UTC) #31
dmazzoni
On Wed, Aug 20, 2014 at 1:57 PM, <dmazzoni@chromium.org> wrote: > AXPlatformNode soon, and BrowserAccessibilityManager ...
6 years, 4 months ago (2014-08-20 21:04:10 UTC) #32
Charlie Reis
A few more comments as I start to follow it more. The main questions are ...
6 years, 4 months ago (2014-08-21 19:23:28 UTC) #33
dmazzoni
Thanks for the great feedback! https://codereview.chromium.org/268543008/diff/20001/content/browser/accessibility/browser_accessibility.cc File content/browser/accessibility/browser_accessibility.cc (right): https://codereview.chromium.org/268543008/diff/20001/content/browser/accessibility/browser_accessibility.cc#newcode98 content/browser/accessibility/browser_accessibility.cc:98: child_manager->SetNodeIdInParentFrame(GetId()); On 2014/08/21 19:23:27, ...
6 years, 4 months ago (2014-08-25 06:49:37 UTC) #34
Charlie Reis
This is looking much better! A few nits and comments below, but I think this ...
6 years, 4 months ago (2014-08-25 20:58:44 UTC) #35
nasko
Adding RenderFrameProxyHost::FromID is expected, we just didn't need it before, so totally fine with me. ...
6 years, 4 months ago (2014-08-25 21:23:30 UTC) #36
dmazzoni
Ready for another look. As soon as blink 180911 gets rolled I'll start a try ...
6 years, 3 months ago (2014-08-26 23:31:03 UTC) #37
Charlie Reis
Cool, thanks. I put in a little more thought about the places where we are ...
6 years, 3 months ago (2014-08-27 17:28:35 UTC) #38
dmazzoni
https://codereview.chromium.org/268543008/diff/80001/content/browser/accessibility/browser_accessibility_manager.cc File content/browser/accessibility/browser_accessibility_manager.cc (right): https://codereview.chromium.org/268543008/diff/80001/content/browser/accessibility/browser_accessibility_manager.cc#newcode393 content/browser/accessibility/browser_accessibility_manager.cc:393: static BrowserAccessibility* FindParentOfNode( On 2014/08/27 17:28:34, Charlie Reis wrote: ...
6 years, 3 months ago (2014-08-28 05:40:14 UTC) #39
Charlie Reis
Fantastic. LGTM with the comments below! https://codereview.chromium.org/268543008/diff/80001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/268543008/diff/80001/content/browser/frame_host/render_frame_host_impl.cc#newcode470 content/browser/frame_host/render_frame_host_impl.cc:470: FrameTreeNode* node = ...
6 years, 3 months ago (2014-08-28 18:18:52 UTC) #40
dmazzoni
https://codereview.chromium.org/268543008/diff/100001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://codereview.chromium.org/268543008/diff/100001/content/browser/frame_host/frame_tree.cc#newcode114 content/browser/frame_host/frame_tree.cc:114: CHECK_EQ(this, result->frame_tree()); On 2014/08/28 18:18:52, Charlie Reis (OOO until ...
6 years, 3 months ago (2014-09-05 06:16:21 UTC) #41
dmazzoni
https://codereview.chromium.org/268543008/diff/140001/content/browser/frame_host/render_frame_proxy_host.cc File content/browser/frame_host/render_frame_proxy_host.cc (right): https://codereview.chromium.org/268543008/diff/140001/content/browser/frame_host/render_frame_proxy_host.cc#newcode24 content/browser/frame_host/render_frame_proxy_host.cc:24: // The (process id, routing id) pair that identifies ...
6 years, 3 months ago (2014-09-05 06:18:19 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/268543008/320001
6 years, 3 months ago (2014-09-05 13:30:48 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/8985)
6 years, 3 months ago (2014-09-05 13:47:50 UTC) #46
nasko
LGTM with one nit https://codereview.chromium.org/268543008/diff/320001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/268543008/diff/320001/content/browser/frame_host/render_frame_host_impl.cc#newcode1011 content/browser/frame_host/render_frame_host_impl.cc:1011: for (unsigned int i = ...
6 years, 3 months ago (2014-09-05 16:29:02 UTC) #47
dmazzoni
Argh, the underlying site-per-process stuff seems to be broken on trunk, but the test that ...
6 years, 3 months ago (2014-09-05 19:22:31 UTC) #48
nasko
I've landed https://codereview.chromium.org/543273002/, which should restore sanity to CrossSiteIframe test and yours (though I haven't ...
6 years, 3 months ago (2014-09-08 14:18:53 UTC) #49
dmazzoni
Thanks! Trying again now... On Mon, Sep 8, 2014 at 7:18 AM, Nasko Oskov <nasko@chromium.org> ...
6 years, 3 months ago (2014-09-08 15:08:21 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/268543008/340001
6 years, 3 months ago (2014-09-08 15:14:29 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/268543008/360001
6 years, 3 months ago (2014-09-09 22:06:10 UTC) #55
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-10 00:09:08 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/268543008/360001
6 years, 3 months ago (2014-09-10 05:36:36 UTC) #59
commit-bot: I haz the power
Committed patchset #19 (id:360001) as 5a9cdbdffd9e534f0945d0b160b6dfee4cdee4d2
6 years, 3 months ago (2014-09-10 06:11:01 UTC) #60
commit-bot: I haz the power
Patchset 19 (id:??) landed as https://crrev.com/387942c041da17ea6337bc0a81e96619e67e4ac4 Cr-Commit-Position: refs/heads/master@{#294118}
6 years, 3 months ago (2014-09-10 06:14:55 UTC) #61
dconnelly
A revert of this CL (patchset #19 id:360001) has been created in https://codereview.chromium.org/558943002/ by dconnelly@chromium.org. ...
6 years, 3 months ago (2014-09-10 07:42:43 UTC) #62
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/268543008/400001
6 years, 3 months ago (2014-09-10 16:26:57 UTC) #64
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/65068) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/54089) win_gpu ...
6 years, 3 months ago (2014-09-10 16:37:36 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/268543008/420001
6 years, 3 months ago (2014-09-10 16:43:57 UTC) #68
commit-bot: I haz the power
Committed patchset #22 (id:420001) as a5434786bd3063082ce16e67ef3f1e9ce71cab19
6 years, 3 months ago (2014-09-10 19:48:41 UTC) #69
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 19:53:39 UTC) #70
Message was sent while issue was closed.
Patchset 22 (id:??) landed as
https://crrev.com/0b5d2481a5dc4f3a1ed812b174a4da8dde1b64c2
Cr-Commit-Position: refs/heads/master@{#294210}

Powered by Google App Engine
This is Rietveld 408576698