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

Issue 1815933002: Fix WebView accessibility (Closed)

Created:
4 years, 9 months ago by dmazzoni
Modified:
4 years, 8 months ago
CC:
aboxhall+watch_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, jam, je_julie, nasko+codewatch_chromium.org, nektar+watch_chromium.org, yuzo+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 WebView accessibility This makes the chrome://chrome-signin page accessible too. BUG=557429, 587187, 453157 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/fdfa2e079cd79d0308211b0ad3b350bf0350d500 Cr-Commit-Position: refs/heads/master@{#383885}

Patch Set 1 #

Patch Set 2 : Fix test expectations on Mac #

Patch Set 3 : Add browser test for focusing into a web view #

Total comments: 4

Patch Set 4 : const base::Closure&, fix test for null closure #

Patch Set 5 : Run test without --use-cross-process-frames-for-guest for now #

Patch Set 6 : Fix build dependencies #

Total comments: 4

Patch Set 7 : Rename set_browser_plugin_embedder_ax_tree_id #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -20 lines) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 2 3 4 5 6 2 chunks +34 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/focus_accessibility/main.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/focus_accessibility/main.js View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/focus_accessibility/manifest.json View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/focus_accessibility/test.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.h View 1 2 3 4 5 6 3 chunks +10 lines, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.cc View 1 2 3 5 chunks +32 lines, -8 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 3 chunks +8 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/public/test/browser_test_utils.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M content/public/test/browser_test_utils.cc View 1 2 3 4 5 2 chunks +28 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/test/data/accessibility/html/embed-expected-mac.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/html/object-expected-mac.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/accessibility/platform/ax_platform_node_mac.mm View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (10 generated)
dmazzoni
Not sure how to best write a test for this, will discuss online.
4 years, 9 months ago (2016-03-21 04:21:20 UTC) #3
dcheng
code changes seem good. were you going to try implementing approach #2 for testing?
4 years, 9 months ago (2016-03-22 17:23:15 UTC) #4
dmazzoni
OK, test added. The test is pretty basic because most of it is covered by ...
4 years, 9 months ago (2016-03-24 04:35:43 UTC) #5
dcheng
https://codereview.chromium.org/1815933002/diff/40001/content/browser/accessibility/browser_accessibility_manager.cc File content/browser/accessibility/browser_accessibility_manager.cc (right): https://codereview.chromium.org/1815933002/diff/40001/content/browser/accessibility/browser_accessibility_manager.cc#newcode190 content/browser/accessibility/browser_accessibility_manager.cc:190: if (!g_focus_change_callback_for_testing.Pointer()) { I wonder if it'd be possible ...
4 years, 9 months ago (2016-03-24 18:15:12 UTC) #6
dmazzoni
https://codereview.chromium.org/1815933002/diff/40001/content/browser/accessibility/browser_accessibility_manager.cc File content/browser/accessibility/browser_accessibility_manager.cc (right): https://codereview.chromium.org/1815933002/diff/40001/content/browser/accessibility/browser_accessibility_manager.cc#newcode190 content/browser/accessibility/browser_accessibility_manager.cc:190: if (!g_focus_change_callback_for_testing.Pointer()) { On 2016/03/24 18:15:11, dcheng wrote: > ...
4 years, 9 months ago (2016-03-25 05:02:22 UTC) #7
dcheng
lgtm
4 years, 9 months ago (2016-03-25 05:13:50 UTC) #8
dmazzoni
+phajdan.jr for content/public/test/ +fsamuel for chrome/browser/apps/guest_view/
4 years, 9 months ago (2016-03-28 04:14:28 UTC) #10
Fady Samuel
lgtm
4 years, 9 months ago (2016-03-28 05:06:06 UTC) #11
Paweł Hajdan Jr.
LGTM w/comment (just checking) https://codereview.chromium.org/1815933002/diff/100001/content/public/test/browser_test_utils.cc File content/public/test/browser_test_utils.cc (right): https://codereview.chromium.org/1815933002/diff/100001/content/public/test/browser_test_utils.cc#newcode890 content/public/test/browser_test_utils.cc:890: BrowserAccessibilityManager::SetFocusChangeCallbackForTesting( Is there a possibility ...
4 years, 8 months ago (2016-03-29 20:35:20 UTC) #12
dmazzoni
https://codereview.chromium.org/1815933002/diff/100001/content/public/test/browser_test_utils.cc File content/public/test/browser_test_utils.cc (right): https://codereview.chromium.org/1815933002/diff/100001/content/public/test/browser_test_utils.cc#newcode890 content/public/test/browser_test_utils.cc:890: BrowserAccessibilityManager::SetFocusChangeCallbackForTesting( On 2016/03/29 20:35:20, Paweł Hajdan Jr. wrote: > ...
4 years, 8 months ago (2016-03-29 20:37:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1815933002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1815933002/100001
4 years, 8 months ago (2016-03-29 20:38:30 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/161675)
4 years, 8 months ago (2016-03-29 20:52:54 UTC) #18
dmazzoni
+nasko for content/browser/frame_host Oops, I forgot that dcheng@ doesn't own that directory. (Why not?)
4 years, 8 months ago (2016-03-29 21:29:12 UTC) #20
nasko
Mostly rubberstamp LGTM with one nit. https://codereview.chromium.org/1815933002/diff/100001/content/browser/frame_host/render_frame_host_impl.h File content/browser/frame_host/render_frame_host_impl.h (right): https://codereview.chromium.org/1815933002/diff/100001/content/browser/frame_host/render_frame_host_impl.h#newcode459 content/browser/frame_host/render_frame_host_impl.h:459: void SetBrowserPluginEmbedderAXTreeID(AXTreeIDRegistry::AXTreeID ax_tree_id); ...
4 years, 8 months ago (2016-03-29 21:35:44 UTC) #21
dmazzoni
https://codereview.chromium.org/1815933002/diff/100001/content/browser/frame_host/render_frame_host_impl.h File content/browser/frame_host/render_frame_host_impl.h (right): https://codereview.chromium.org/1815933002/diff/100001/content/browser/frame_host/render_frame_host_impl.h#newcode459 content/browser/frame_host/render_frame_host_impl.h:459: void SetBrowserPluginEmbedderAXTreeID(AXTreeIDRegistry::AXTreeID ax_tree_id); On 2016/03/29 21:35:44, nasko (slow) wrote: ...
4 years, 8 months ago (2016-03-29 21:42:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1815933002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1815933002/120001
4 years, 8 months ago (2016-03-29 21:43:11 UTC) #25
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-03-30 01:15:56 UTC) #26
commit-bot: I haz the power
4 years, 8 months ago (2016-03-30 01:17:03 UTC) #28
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/fdfa2e079cd79d0308211b0ad3b350bf0350d500
Cr-Commit-Position: refs/heads/master@{#383885}

Powered by Google App Engine
This is Rietveld 408576698