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

Issue 2742533003: Add a window property to associate RWHVA with its child AX tree ID (Closed)

Created:
3 years, 9 months ago by dmazzoni
Modified:
3 years, 9 months ago
Reviewers:
David Tseng, jam, sky
CC:
chromium-reviews, creis+watch_chromium.org, yusukes+watch_chromium.org, tfarina, aboxhall+watch_chromium.org, shuchen+watch_chromium.org, nasko+codewatch_chromium.org, jam, nektar+watch_chromium.org, yuzo+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, je_julie, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a window property to associate RWHVA with its child AX tree ID Working on making the Chrome OS virtual keyboard accessible to select-to-speak and other accessibility services. Currently we link a views::WebView to its inner web accessibility tree, but the VK just puts a WebContents directly in an aura Window. This change hooks them up by adding the child AX tree ID as a window property. BUG=699617 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2742533003 Cr-Commit-Position: refs/heads/master@{#456445} Committed: https://chromium.googlesource.com/chromium/src/+/05107990b575defc12ba29da8ae17a8660a29b67

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename to SetMainFrameAXTreeID #

Total comments: 2

Patch Set 3 : Fix call to SetMainFrameAXTreeID #

Patch Set 4 : Fix deps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -1 line) Patch
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M ui/accessibility/BUILD.gn View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M ui/accessibility/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
A ui/accessibility/platform/aura_window_properties.h View 1 chunk +19 lines, -0 lines 0 comments Download
A ui/accessibility/platform/aura_window_properties.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M ui/views/accessibility/ax_window_obj_wrapper.cc View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
dmazzoni
3 years, 9 months ago (2017-03-08 23:37:56 UTC) #3
sky
https://codereview.chromium.org/2742533003/diff/1/content/browser/renderer_host/render_widget_host_view_base.h File content/browser/renderer_host/render_widget_host_view_base.h (right): https://codereview.chromium.org/2742533003/diff/1/content/browser/renderer_host/render_widget_host_view_base.h#newcode214 content/browser/renderer_host/render_widget_host_view_base.h:214: virtual void UpdateAXTreeID(ui::AXTreeIDRegistry::AXTreeID id) {} SetMainFrameAXTreeID ?
3 years, 9 months ago (2017-03-08 23:51:13 UTC) #4
dmazzoni
https://codereview.chromium.org/2742533003/diff/1/content/browser/renderer_host/render_widget_host_view_base.h File content/browser/renderer_host/render_widget_host_view_base.h (right): https://codereview.chromium.org/2742533003/diff/1/content/browser/renderer_host/render_widget_host_view_base.h#newcode214 content/browser/renderer_host/render_widget_host_view_base.h:214: virtual void UpdateAXTreeID(ui::AXTreeIDRegistry::AXTreeID id) {} On 2017/03/08 23:51:12, sky ...
3 years, 9 months ago (2017-03-09 00:18:19 UTC) #5
sky
LGTM https://codereview.chromium.org/2742533003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2742533003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode1972 content/browser/frame_host/render_frame_host_impl.cc:1972: view->UpdateAXTreeID(GetAXTreeID()); SetMainFrameAXTreeID
3 years, 9 months ago (2017-03-09 01:04:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2742533003/40001
3 years, 9 months ago (2017-03-10 21:38:17 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/297140) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 9 months ago (2017-03-10 21:43:42 UTC) #15
dmazzoni
https://codereview.chromium.org/2742533003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2742533003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode1972 content/browser/frame_host/render_frame_host_impl.cc:1972: view->UpdateAXTreeID(GetAXTreeID()); On 2017/03/09 01:04:44, sky wrote: > SetMainFrameAXTreeID Done.
3 years, 9 months ago (2017-03-10 21:47:09 UTC) #16
dmazzoni
+jam for content/
3 years, 9 months ago (2017-03-10 21:49:16 UTC) #18
jam
lgtm
3 years, 9 months ago (2017-03-13 17:06:23 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2742533003/60001
3 years, 9 months ago (2017-03-13 17:18:57 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/05107990b575defc12ba29da8ae17a8660a29b67
3 years, 9 months ago (2017-03-13 18:45:15 UTC) #25
qyearsley
3 years, 9 months ago (2017-03-13 20:44:35 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2751503002/ by qyearsley@chromium.org.

The reason for reverting is: It looks like this causes the (static initializers)
sizes step to fail:

https://luci-milo.appspot.com/buildbot/chromium/Linux%20x64/35021.

Powered by Google App Engine
This is Rietveld 408576698