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

Issue 420653003: MacViews: Accessibility bridge (Closed)

Created:
6 years, 5 months ago by Andre
Modified:
6 years, 4 months ago
Reviewers:
dmazzoni, David Tseng, sky
CC:
chromium-reviews, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, tfarina, jam, yuzo+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, mac-views-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

MacViews: Accessibility bridge Implement basic accessibility hierarchy support for MacViews, bridging the View hierarchy to a hierarchy of Objective-C objects that implement the NSAccessibility informal protocol. AXPlatformNode is introduced as the accessibility abstraction that will be used for views and browser content, for both Mac and Windows. This initial patch includes the basic views on Mac implementation. BUG=396137 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286768

Patch Set 1 : #

Patch Set 2 : 2nd draft, based on 423513005 #

Total comments: 10

Patch Set 3 : Fixes for dmazzoni #

Total comments: 1

Patch Set 4 : Fix double delete. Add NativeViewAccessibilityTest. #

Total comments: 4

Patch Set 5 : Rebase off master #

Patch Set 6 : Fix for tapted #

Patch Set 7 : Cleanup pass #

Patch Set 8 : Fix build #

Total comments: 8

Patch Set 9 : #

Patch Set 10 : GN fixes #

Patch Set 11 : Fix Windows linking #

Patch Set 12 : Merge accessibility_platform target to accessibility #

Unified diffs Side-by-side diffs Delta from patch set Stats (+757 lines, -204 lines) Patch
M content/browser/accessibility/browser_accessibility_cocoa.mm View 1 2 3 4 4 chunks +3 lines, -187 lines 0 comments Download
M ui/accessibility/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -0 lines 0 comments Download
M ui/accessibility/accessibility.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -0 lines 0 comments Download
A ui/accessibility/platform/ax_platform_node.h View 1 2 3 4 5 6 7 8 1 chunk +33 lines, -0 lines 0 comments Download
A ui/accessibility/platform/ax_platform_node.cc View 1 2 3 4 5 6 7 8 1 chunk +25 lines, -0 lines 0 comments Download
A ui/accessibility/platform/ax_platform_node_base.h View 1 2 3 4 5 6 7 8 1 chunk +44 lines, -0 lines 0 comments Download
A ui/accessibility/platform/ax_platform_node_base.cc View 1 2 3 4 5 6 7 8 1 chunk +58 lines, -0 lines 0 comments Download
A ui/accessibility/platform/ax_platform_node_delegate.h View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
A ui/accessibility/platform/ax_platform_node_mac.h View 1 2 3 4 5 6 7 8 1 chunk +48 lines, -0 lines 0 comments Download
A ui/accessibility/platform/ax_platform_node_mac.mm View 1 2 3 4 5 6 7 8 1 chunk +311 lines, -0 lines 0 comments Download
M ui/gfx/native_widget_types.h View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility.h View 1 2 3 3 chunks +23 lines, -5 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility.cc View 1 2 3 4 5 6 7 8 2 chunks +52 lines, -3 lines 0 comments Download
A ui/views/accessibility/native_view_accessibility_unittest.cc View 1 2 3 1 chunk +77 lines, -0 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility_win.h View 1 2 3 chunks +0 lines, -7 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility_win.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/cocoa/bridged_content_view.mm View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Andre
dmazzoni, here's the rough draft we talked about.
6 years, 4 months ago (2014-07-28 22:54:45 UTC) #1
dmazzoni
You suggested I land the partial patch I was working on first, but I've got ...
6 years, 4 months ago (2014-07-29 06:17:40 UTC) #2
dmazzoni
Can you just merge 423513005 into this change and reupload based on master? https://codereview.chromium.org/420653003/diff/60001/ui/accessibility/accessibility.gyp File ...
6 years, 4 months ago (2014-07-29 06:19:13 UTC) #3
dmazzoni
https://codereview.chromium.org/420653003/diff/60001/ui/accessibility/platform/ax_platform_node.cc File ui/accessibility/platform/ax_platform_node.cc (right): https://codereview.chromium.org/420653003/diff/60001/ui/accessibility/platform/ax_platform_node.cc#newcode38 ui/accessibility/platform/ax_platform_node.cc:38: gfx::Rect bounds = delegate_->GetData()->location; Check delegate_ for NULL everywhere ...
6 years, 4 months ago (2014-07-29 06:35:15 UTC) #4
Andre
https://codereview.chromium.org/420653003/diff/60001/ui/accessibility/accessibility.gyp File ui/accessibility/accessibility.gyp (right): https://codereview.chromium.org/420653003/diff/60001/ui/accessibility/accessibility.gyp#newcode65 ui/accessibility/accessibility.gyp:65: # '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', On 2014/07/29 06:19:12, dmazzoni wrote: > delete ...
6 years, 4 months ago (2014-07-29 21:58:56 UTC) #5
dmazzoni
+dtseng This is an FYI if you want to give feedback
6 years, 4 months ago (2014-07-29 23:09:31 UTC) #6
Andre
https://codereview.chromium.org/420653003/diff/80001/ui/views/accessibility/native_view_accessibility.cc File ui/views/accessibility/native_view_accessibility.cc (right): https://codereview.chromium.org/420653003/diff/80001/ui/views/accessibility/native_view_accessibility.cc#newcode78 ui/views/accessibility/native_view_accessibility.cc:78: return view_->GetWidget()->GetNativeView(); I went with this for now and ...
6 years, 4 months ago (2014-07-29 23:14:44 UTC) #7
dmazzoni
Looking pretty good, but please upload the full change relative to master rather than just ...
6 years, 4 months ago (2014-07-29 23:20:36 UTC) #8
Andre
On 2014/07/29 23:20:36, dmazzoni wrote: > Looking pretty good, but please upload the full change ...
6 years, 4 months ago (2014-07-29 23:53:50 UTC) #9
tapted
[drive-by] change looks really nice :) - just some comments from a quick scan. Make ...
6 years, 4 months ago (2014-07-29 23:58:21 UTC) #10
Andre
On 2014/07/29 23:58:21, tapted wrote: > [drive-by] change looks really nice :) - just some ...
6 years, 4 months ago (2014-07-30 00:16:51 UTC) #11
Andre
https://codereview.chromium.org/420653003/diff/120001/ui/gfx/native_widget_types.h File ui/gfx/native_widget_types.h (right): https://codereview.chromium.org/420653003/diff/120001/ui/gfx/native_widget_types.h#newcode151 ui/gfx/native_widget_types.h:151: typedef id NativeViewAccessible; On 2014/07/29 23:58:21, tapted wrote: > ...
6 years, 4 months ago (2014-07-30 00:18:01 UTC) #12
dmazzoni
This is a great first step! It doesn't have to be perfect, if this passes ...
6 years, 4 months ago (2014-07-30 05:53:12 UTC) #13
dmazzoni
lgtm
6 years, 4 months ago (2014-07-30 05:53:20 UTC) #14
Andre
https://codereview.chromium.org/420653003/diff/210001/content/content_browser.gypi File content/content_browser.gypi (right): https://codereview.chromium.org/420653003/diff/210001/content/content_browser.gypi#newcode1569 content/content_browser.gypi:1569: '../ui/accessibility/accessibility.gyp:accessibility_platform', On 2014/07/30 05:53:12, dmazzoni wrote: > nit: sort ...
6 years, 4 months ago (2014-07-30 18:50:16 UTC) #15
dmazzoni
Still lg. +sky for ui/views
6 years, 4 months ago (2014-07-30 20:56:53 UTC) #16
sky
LGTM
6 years, 4 months ago (2014-07-30 21:59:16 UTC) #17
Andre
The CQ bit was checked by andresantoso@chromium.org
6 years, 4 months ago (2014-07-31 01:32:55 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andresantoso@chromium.org/420653003/310001
6 years, 4 months ago (2014-07-31 01:34:01 UTC) #19
commit-bot: I haz the power
Change committed as 286768
6 years, 4 months ago (2014-07-31 12:42:57 UTC) #20
Avi (use Gerrit)
6 years, 4 months ago (2014-07-31 19:55:40 UTC) #21
Message was sent while issue was closed.
On 2014/07/31 12:42:57, I haz the power (commit-bot) wrote:
> Change committed as 286768

This breaks the Mac 64 component build. Fix is at
https://codereview.chromium.org/437633002 .

Powered by Google App Engine
This is Rietveld 408576698