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

Issue 9839069: Add initial GTK web accessibility framework. (Closed)

Created:
8 years, 9 months ago by dmazzoni
Modified:
8 years, 7 months ago
CC:
chromium-reviews, ctguil+watch_chromium.org, yusukes+watch_chromium.org, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, yoshiki+watch_chromium.org, jam, penghuang+watch_chromium.org, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, James Su, zork+watch_chromium.org
Visibility:
Public.

Description

Add initial GTK web accessibility framework. This enables Linux desktop assistive technology such as the Orca screen reader to access the web contents. Builds on the same accessibility stack used by Mac & Windows already. This change works with Orca now, but it's minimal: all that works is getting the correct feedback when you tab through focusable links and controls in a webpage. Future changes will add the rest of the support. BUG=24585 TEST=Run Chrome on desktop Linux with Orca turned on, tab through links. TBR=darin Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=135160

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 14

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+754 lines, -62 lines) Patch
M content/browser/accessibility/browser_accessibility.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +6 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -3 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_cocoa.mm View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +5 lines, -5 lines 0 comments Download
A content/browser/accessibility/browser_accessibility_gtk.h View 1 2 1 chunk +92 lines, -0 lines 0 comments Download
A content/browser/accessibility/browser_accessibility_gtk.cc View 1 2 3 4 1 chunk +343 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_mac_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -3 lines 0 comments Download
A content/browser/accessibility/browser_accessibility_manager_gtk.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +41 lines, -0 lines 0 comments Download
A content/browser/accessibility/browser_accessibility_manager_gtk.cc View 1 2 3 4 5 6 7 1 chunk +69 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 26 chunks +28 lines, -28 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +7 lines, -7 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_helper_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
content/browser/accessibility/dump_accessibility_tree_helper_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.h View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +24 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +76 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gfx/gtk_preserve_window.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +10 lines, -1 line 0 comments Download
M ui/gfx/gtk_preserve_window.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
dmazzoni
Evan, when you have time could you review the GTK code here for proper style, ...
8 years, 7 months ago (2012-05-01 22:58:01 UTC) #1
Evan Stade
much of this is Greek to me http://codereview.chromium.org/9839069/diff/14006/content/browser/accessibility/browser_accessibility.h File content/browser/accessibility/browser_accessibility.h (right): http://codereview.chromium.org/9839069/diff/14006/content/browser/accessibility/browser_accessibility.h#newcode197 content/browser/accessibility/browser_accessibility.h:197: BrowserAccessibilityGtk* toBrowserAccessibilityGtk(); ...
8 years, 7 months ago (2012-05-02 00:03:29 UTC) #2
dmazzoni
Thanks. > much of this is Greek to me David and I are learning the ...
8 years, 7 months ago (2012-05-02 06:27:32 UTC) #3
David Tseng
http://codereview.chromium.org/9839069/diff/20011/content/browser/accessibility/browser_accessibility_manager_gtk.cc File content/browser/accessibility/browser_accessibility_manager_gtk.cc (right): http://codereview.chromium.org/9839069/diff/20011/content/browser/accessibility/browser_accessibility_manager_gtk.cc#newcode41 content/browser/accessibility/browser_accessibility_manager_gtk.cc:41: switch (type) { Might have to switch on all ...
8 years, 7 months ago (2012-05-02 18:02:58 UTC) #4
dmazzoni
http://codereview.chromium.org/9839069/diff/20011/content/browser/accessibility/browser_accessibility_manager_gtk.cc File content/browser/accessibility/browser_accessibility_manager_gtk.cc (right): http://codereview.chromium.org/9839069/diff/20011/content/browser/accessibility/browser_accessibility_manager_gtk.cc#newcode41 content/browser/accessibility/browser_accessibility_manager_gtk.cc:41: switch (type) { On 2012/05/02 18:02:58, David Tseng wrote: ...
8 years, 7 months ago (2012-05-02 19:33:05 UTC) #5
dmazzoni
+sky for OWNERS approval
8 years, 7 months ago (2012-05-02 20:24:04 UTC) #6
Evan Stade
> Is there anyone else you'd > recommend who knows GTK guts well enough they ...
8 years, 7 months ago (2012-05-02 20:30:18 UTC) #7
Elliot Glaysher
I don't know any of this. You are probably the most qualified person about ATK, ...
8 years, 7 months ago (2012-05-02 21:15:21 UTC) #8
David Tseng
lgtm On 5/2/12, erg@chromium.org <erg@chromium.org> wrote: > I don't know any of this. You are ...
8 years, 7 months ago (2012-05-02 21:18:19 UTC) #9
sky
Rubber stamp LGTM
8 years, 7 months ago (2012-05-02 21:22:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/9839069/35007
8 years, 7 months ago (2012-05-02 21:23:22 UTC) #11
commit-bot: I haz the power
Presubmit check for 9839069-35007 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 7 months ago (2012-05-02 21:23:46 UTC) #12
dmazzoni
Adding TBR=darin for content/OWNERS
8 years, 7 months ago (2012-05-02 21:26:28 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/9839069/35007
8 years, 7 months ago (2012-05-02 21:26:57 UTC) #14
commit-bot: I haz the power
8 years, 7 months ago (2012-05-02 23:01:05 UTC) #15
Change committed as 135020

Powered by Google App Engine
This is Rietveld 408576698