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

Issue 868933002: [Contextual Search] Check ARIA Roles before triggering. (Closed)

Created:
5 years, 11 months ago by Donn Denman
Modified:
5 years, 10 months ago
Reviewers:
no sievers
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org, jdduke (slow), dmazzoni
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Contextual Search] Add more node checks before triggering. Now showUnhandledTapUIIfNeeded makes an additional check to see if it is appropriate to trigger: if the tapped node is an ARIA widget or not, according to the accessibility code in Blink. This CL is dependent on a Blink CL: 885163002 BUG=451096 Committed: https://crrev.com/57e54f55650add38970fe4b4e48cf3010a4a12fe Cr-Commit-Position: refs/heads/master@{#318275}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Move ARIA role-list helper to Blink. #

Total comments: 5

Patch Set 3 : Minor change. #

Patch Set 4 : Moved all the ARIA widget-detection to Blink. #

Patch Set 5 : Updated the reference to the Blink API being called. #

Patch Set 6 : None. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M content/renderer/render_widget.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 20 (5 generated)
Donn Denman
Dominic, would you mind doing a first-pass review of this code? I have done very ...
5 years, 11 months ago (2015-01-22 23:19:18 UTC) #2
dmazzoni
How about splitting this into two changes? I think that properly checking for a focusable ...
5 years, 11 months ago (2015-01-23 17:39:56 UTC) #3
Donn Denman
Dominic, PTAL when convenient, and let me know if you think this is approach seems ...
5 years, 10 months ago (2015-01-29 22:42:40 UTC) #4
dmazzoni
This is looking a lot better! Would like to see a test because as you ...
5 years, 10 months ago (2015-01-30 07:34:20 UTC) #5
Donn Denman
Thanks for the review Dominic! https://codereview.chromium.org/868933002/diff/20001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/868933002/diff/20001/content/renderer/render_widget.cc#newcode2208 content/renderer/render_widget.cc:2208: if (curNode.isFocusable()) On 2015/01/30 ...
5 years, 10 months ago (2015-02-02 21:14:15 UTC) #6
dmazzoni
https://codereview.chromium.org/868933002/diff/20001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/868933002/diff/20001/content/renderer/render_widget.cc#newcode2208 content/renderer/render_widget.cc:2208: if (curNode.isFocusable()) On 2015/02/02 21:14:15, Donn Denman wrote: > ...
5 years, 10 months ago (2015-02-02 21:19:52 UTC) #7
Donn Denman
Does anyone have a suggestion for a good way to test this change to render_widget.cc? ...
5 years, 10 months ago (2015-02-02 21:20:02 UTC) #9
dmazzoni
I think you could use content/renderer/accessibility/renderer_accessibility_browsertest.cc as a skeleton for loading HTML and then doing ...
5 years, 10 months ago (2015-02-02 21:24:07 UTC) #10
Donn Denman
sievers or nasko, PTAL at this simple change. Thanks!
5 years, 10 months ago (2015-02-25 21:06:15 UTC) #12
nasko
On 2015/02/25 21:06:15, Donn Denman wrote: > sievers or nasko, PTAL at this simple change. ...
5 years, 10 months ago (2015-02-25 21:12:01 UTC) #13
Donn Denman
I can easily promise to add a test case downstream (for Android, in a separate ...
5 years, 10 months ago (2015-02-25 21:21:39 UTC) #15
no sievers
lgtm
5 years, 10 months ago (2015-02-25 21:26:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/868933002/100001
5 years, 10 months ago (2015-02-26 17:29:30 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-26 19:03:52 UTC) #19
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 19:04:26 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/57e54f55650add38970fe4b4e48cf3010a4a12fe
Cr-Commit-Position: refs/heads/master@{#318275}

Powered by Google App Engine
This is Rietveld 408576698