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

Issue 1836113002: Fix accessible touch exploration inside of iframes. (Closed)

Created:
4 years, 8 months ago by dmazzoni
Modified:
4 years, 8 months ago
Reviewers:
kenrb, nasko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, aboxhall, aboxhall+watch_chromium.org, nektar+watch_chromium.org, nasko+codewatch_chromium.org, jam, yuzo+watch_chromium.org, blink-reviews, nektarios, je_julie, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix accessible touch exploration inside of iframes. Now that we've switched to one accessibiliy tree per iframe, the previous hit testing code broke. Previously we send a message to the top frame with the point and it fired a HOVER event on the target node. Now if the target node has a child frame, it sends a response IPC to the browser so it can redispatch the hit test on the child frame and keep drilling down until it reaches a leaf node. Note: all of the changes made in this patch are appropriate for OOPIF, however it's unclear if the coordinate transformation will work correctly in that case. Waiting on a resolution to crbug.com/459591 before fixing that, but since there are no plans to use OOPIF on Android right now this isn't as urgent. BUG=596101 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/a04ec0570cf902b3714fee07ffe3361fd80dfa16 Cr-Commit-Position: refs/heads/master@{#384520}

Patch Set 1 #

Patch Set 2 : Make test server url relative #

Total comments: 15

Patch Set 3 : Run git cl format, address other feedback #

Patch Set 4 : Fix test startup on Android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -100 lines) Patch
M content/browser/accessibility/android_hit_testing_browsertest.cc View 1 2 1 chunk +0 lines, -79 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.cc View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A content/browser/accessibility/hit_testing_browsertest.cc View 1 2 3 1 chunk +171 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 chunks +14 lines, -2 lines 0 comments Download
M content/common/accessibility_messages.h View 1 2 2 chunks +13 lines, -3 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M content/renderer/accessibility/renderer_accessibility.cc View 1 2 1 chunk +18 lines, -2 lines 0 comments Download
M content/test/accessibility_browser_test_utils.h View 2 chunks +11 lines, -2 lines 0 comments Download
M content/test/accessibility_browser_test_utils.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObject.cpp View 1 1 chunk +1 line, -7 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
dmazzoni
4 years, 8 months ago (2016-03-28 21:58:56 UTC) #3
nasko
Looping in kenrb@, as he is the expert on hit testing. Overall I'm curious why ...
4 years, 8 months ago (2016-03-30 21:01:41 UTC) #5
Charlie Reis
> since there are no plans to use OOPIF on Android right now this isn't ...
4 years, 8 months ago (2016-03-30 21:08:06 UTC) #6
kenrb
On 2016/03/30 21:01:41, nasko (slow) wrote: > Looping in kenrb@, as he is the expert ...
4 years, 8 months ago (2016-03-30 22:29:29 UTC) #7
dmazzoni
On 2016/03/30 22:29:29, kenrb wrote: > On 2016/03/30 21:01:41, nasko (slow) wrote: > > Looping ...
4 years, 8 months ago (2016-03-30 23:31:27 UTC) #8
kenrb
lgtm
4 years, 8 months ago (2016-03-31 15:05:34 UTC) #9
dmazzoni
I ran git cl format, should be good now. https://codereview.chromium.org/1836113002/diff/20001/content/browser/accessibility/android_hit_testing_browsertest.cc File content/browser/accessibility/android_hit_testing_browsertest.cc (right): https://codereview.chromium.org/1836113002/diff/20001/content/browser/accessibility/android_hit_testing_browsertest.cc#newcode34 content/browser/accessibility/android_hit_testing_browsertest.cc:34: ...
4 years, 8 months ago (2016-03-31 16:15:55 UTC) #10
nasko
LGTM https://codereview.chromium.org/1836113002/diff/20001/content/common/accessibility_messages.h File content/common/accessibility_messages.h (right): https://codereview.chromium.org/1836113002/diff/20001/content/common/accessibility_messages.h#newcode164 content/common/accessibility_messages.h:164: // If the target is an object with ...
4 years, 8 months ago (2016-03-31 16:35:57 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1836113002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1836113002/40001
4 years, 8 months ago (2016-03-31 16:36:50 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/197081)
4 years, 8 months ago (2016-03-31 18:37:43 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1836113002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1836113002/40001
4 years, 8 months ago (2016-03-31 20:30:05 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1836113002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1836113002/60001
4 years, 8 months ago (2016-04-01 07:01:46 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-01 08:41:24 UTC) #23
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 08:42:57 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a04ec0570cf902b3714fee07ffe3361fd80dfa16
Cr-Commit-Position: refs/heads/master@{#384520}

Powered by Google App Engine
This is Rietveld 408576698