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

Issue 2365263003: Implement NSAccessibilityScrollToVisibleAction on Mac (Closed)

Created:
4 years, 2 months ago by dmazzoni
Modified:
4 years, 2 months ago
Reviewers:
Elly Fong-Jones
CC:
dmazzoni, aboxhall+watch_chromium.org, aboxhall, blink-reviews, chromium-reviews, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, haraken, jam, je_julie, mlamouri+watch-content_chromium.org, nektarios, nektar+watch_chromium.org, yuzo+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement NSAccessibilityScrollToVisibleAction on Mac If you navigate to an element with VoiceOver, Chrome wasn't scrolling it into view (unless it was focusable). To fix this we mainly just needed to implement NSAccessibilityScrollToVisibleAction. To get this to work in PDF files too, we needed an extra fix since the PDF node is outside of web content but can't scroll itself, so we get the PDF node's coordinates and then tell the web document to scroll to make that bounding box visible. BUG=649861, 54724 Committed: https://crrev.com/7d7a94d999847d71bc9f0557fd4103efa5a8ed71 Cr-Commit-Position: refs/heads/master@{#420977}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix endless loop in AXObject::scrollToMakeVisibleWithSubFocus #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -1 line) Patch
M content/browser/accessibility/browser_accessibility_cocoa.mm View 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/accessibility/render_accessibility_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/accessibility/render_accessibility_impl.cc View 2 chunks +33 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObject.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (8 generated)
dmazzoni
4 years, 2 months ago (2016-09-26 16:20:54 UTC) #2
Elly Fong-Jones
lgtm! https://codereview.chromium.org/2365263003/diff/1/third_party/WebKit/Source/modules/accessibility/AXObject.cpp File third_party/WebKit/Source/modules/accessibility/AXObject.cpp (right): https://codereview.chromium.org/2365263003/diff/1/third_party/WebKit/Source/modules/accessibility/AXObject.cpp#newcode1519 third_party/WebKit/Source/modules/accessibility/AXObject.cpp:1519: const AXObject* scrollParent = this; what's up with ...
4 years, 2 months ago (2016-09-26 16:25:39 UTC) #5
dmazzoni
https://codereview.chromium.org/2365263003/diff/1/third_party/WebKit/Source/modules/accessibility/AXObject.cpp File third_party/WebKit/Source/modules/accessibility/AXObject.cpp (right): https://codereview.chromium.org/2365263003/diff/1/third_party/WebKit/Source/modules/accessibility/AXObject.cpp#newcode1519 third_party/WebKit/Source/modules/accessibility/AXObject.cpp:1519: const AXObject* scrollParent = this; On 2016/09/26 at 16:25:39, ...
4 years, 2 months ago (2016-09-26 18:00:40 UTC) #8
Elly Fong-Jones
On 2016/09/26 18:00:40, dmazzoni wrote: > https://codereview.chromium.org/2365263003/diff/1/third_party/WebKit/Source/modules/accessibility/AXObject.cpp > File third_party/WebKit/Source/modules/accessibility/AXObject.cpp (right): > > https://codereview.chromium.org/2365263003/diff/1/third_party/WebKit/Source/modules/accessibility/AXObject.cpp#newcode1519 > ...
4 years, 2 months ago (2016-09-26 18:06:46 UTC) #9
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/2365263003/20001
4 years, 2 months ago (2016-09-26 18:41:00 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-26 20:23:09 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-09-26 20:26:36 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7d7a94d999847d71bc9f0557fd4103efa5a8ed71
Cr-Commit-Position: refs/heads/master@{#420977}

Powered by Google App Engine
This is Rietveld 408576698