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

Issue 2255093005: Pass accessible location change messages to the automation API. (Closed)

Created:
4 years, 4 months ago by dmazzoni
Modified:
4 years, 4 months ago
Reviewers:
Tom Sepez, aboxhall
CC:
aboxhall+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, extensions-reviews_chromium.org, jam, je_julie, mlamouri+watch-content_chromium.org, 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

Pass accessible location change messages to the automation API. The only "new" code is in RenderFrameHostImpl::OnAccessibilityLocationChanges and AutomationInternalCustomBindings::OnAccessibilityLocationChange, and they're very straightforward. Everything else is just plumbing to get the message from point A to point B. It'd be nice if we didn't require so much duplicate code to accomplish this, but it's not clear what we could do. BUG=638701 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation TBR=alokp@chromium.org Committed: https://crrev.com/2400c46083215ca8dcaecb6393397d13eedc4e2f Cr-Commit-Position: refs/heads/master@{#413738}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Move IPC macro for AXRelativeBounds to common_param_traits_macros.h #

Patch Set 3 : Speculative fix to cast_shell #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -13 lines) Patch
M chrome/browser/extensions/api/automation_internal/automation_event_router.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/automation_internal/automation_event_router.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/automation_internal/automation_internal_api.cc View 2 chunks +14 lines, -4 lines 0 comments Download
M chrome/common/extensions/chrome_extension_messages.h View 1 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/automation_internal_custom_bindings.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/automation_internal_custom_bindings.cc View 2 chunks +17 lines, -0 lines 0 comments Download
M chromecast/chromecast.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chromecast/renderer/media/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_delegate.h View 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 chunk +13 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M content/common/accessibility_messages.h View 1 1 chunk +0 lines, -6 lines 0 comments Download
M content/public/browser/ax_event_notification_details.h View 2 chunks +15 lines, -0 lines 0 comments Download
M content/public/browser/ax_event_notification_details.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_observer.h View 2 chunks +6 lines, -0 lines 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/accessibility/render_accessibility_impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (18 generated)
dmazzoni
aboxhall: primary review (see comments, only two files are nontrivial) tsepez: owners approval for messages
4 years, 4 months ago (2016-08-19 21:25:48 UTC) #4
Tom Sepez
On 2016/08/19 21:25:48, dmazzoni wrote: > aboxhall: primary review (see comments, only two files are ...
4 years, 4 months ago (2016-08-19 21:43:11 UTC) #6
aboxhall
LGTM 🎉 One minor question but mostly awesome. https://codereview.chromium.org/2255093005/diff/1/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc File chrome/browser/extensions/api/automation_internal/automation_internal_api.cc (right): https://codereview.chromium.org/2255093005/diff/1/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc#newcode206 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc:206: for ...
4 years, 4 months ago (2016-08-22 19:48:38 UTC) #9
dmazzoni
Thanks https://codereview.chromium.org/2255093005/diff/1/content/renderer/accessibility/render_accessibility_impl.cc File content/renderer/accessibility/render_accessibility_impl.cc (left): https://codereview.chromium.org/2255093005/diff/1/content/renderer/accessibility/render_accessibility_impl.cc#oldcode398 content/renderer/accessibility/render_accessibility_impl.cc:398: if (iter != locations_.end() && iter->second != new_location) ...
4 years, 4 months ago (2016-08-22 21:29:14 UTC) #10
dmazzoni
+TBR=alokp for chromecast/ - I needed to add a dependency on //skia because I added ...
4 years, 4 months ago (2016-08-23 15:02:20 UTC) #20
dmazzoni
+TBR=alokp for chromecast/ - I needed to add a dependency on //skia because I added ...
4 years, 4 months ago (2016-08-23 15:02:20 UTC) #21
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/2255093005/40001
4 years, 4 months ago (2016-08-23 15:02:47 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-23 15:07:30 UTC) #25
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 15:09:33 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2400c46083215ca8dcaecb6393397d13eedc4e2f
Cr-Commit-Position: refs/heads/master@{#413738}

Powered by Google App Engine
This is Rietveld 408576698