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

Issue 3380017: Support additional webkit accessibility notifications and states. (Closed)

Created:
10 years, 3 months ago by Chris Guillory
Modified:
9 years, 7 months ago
Reviewers:
dmazzoni, jam
CC:
chromium-reviews, pam+watch_chromium.org, brettw-cc_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, ben+cc_chromium.org, David Tseng
Visibility:
Public.

Description

Support additional webkit accessibility notifications and states. 1. Update WebAccessibility::ConvertState to function similarly to WebCore's AccessibleBase::get_accState. 2. Use WebKit's load complete notification to send the renderer's tree to the browser. We enable accessibility on the renderer now instead of requesting a tree. 3. Use WebKit's focused ui element notification to send renderer focus events to the browser. BUG=13291 BUG=38106 TEST=interactive_ui_tests:AccessibilityWinBrowserTest.TestNotificationActiveDescendantChanged TEST=interactive_ui_tests:AccessibilityWinBrowserTest.TestNotificationFocusChanged Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60569

Patch Set 1 #

Patch Set 2 : Ready for review. WebKit side patch is in review. #

Total comments: 8

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : Merge test #

Patch Set 6 : Adding missig file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -195 lines) Patch
M chrome/browser/accessibility_win_browsertest.cc View 1 2 3 4 5 chunks +108 lines, -12 lines 0 comments Download
M chrome/browser/browser_accessibility_manager_win.h View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/browser_accessibility_manager_win.cc View 1 2 3 3 chunks +35 lines, -14 lines 0 comments Download
M chrome/browser/browser_accessibility_win.cc View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/mock_render_process_host.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/mock_render_process_host.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/render_process_host.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/render_view_host.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 2 3 7 chunks +16 lines, -30 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host.h View 1 2 3 3 chunks +1 line, -15 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host.cc View 1 2 3 2 chunks +3 lines, -19 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_win.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_win.cc View 1 2 3 1 chunk +10 lines, -23 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 2 chunks +2 lines, -18 lines 0 comments Download
M chrome/common/render_messages_params.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.h View 1 2 3 2 chunks +1 line, -3 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 6 chunks +40 lines, -36 lines 0 comments Download
M webkit/glue/webaccessibility.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M webkit/glue/webaccessibility.cc View 1 2 3 2 chunks +20 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Chris Guillory
10 years, 3 months ago (2010-09-21 04:56:18 UTC) #1
Chris Guillory
Ready for review. WebKit side patch is on this bug: https://bugs.webkit.org/show_bug.cgi?id=45156
10 years, 3 months ago (2010-09-21 04:58:18 UTC) #2
dmazzoni
LGTM aside from two things and the inline comments below: 1. Let's use a new ...
10 years, 3 months ago (2010-09-21 19:29:47 UTC) #3
Chris Guillory
Now using --enable-accessibility. http://codereview.chromium.org/3380017/diff/22001/23001 File chrome/browser/accessibility_win_browsertest.cc (right): http://codereview.chromium.org/3380017/diff/22001/23001#newcode376 chrome/browser/accessibility_win_browsertest.cc:376: GURL tree_url("data:text/html,<ul aria-help='ul' tabindex='-1' role=" On ...
10 years, 3 months ago (2010-09-21 23:18:04 UTC) #4
Chris Guillory
> 2. Have someone familiar with the renderer process-starting code okay the new > flag ...
10 years, 3 months ago (2010-09-22 00:05:35 UTC) #5
jam
10 years, 3 months ago (2010-09-24 18:00:45 UTC) #6
On 2010/09/22 00:05:35, Chris Guillory wrote:
> > 2. Have someone familiar with the renderer process-starting code okay the
new
> > flag and that part of the change.
> Jam, could you look at the new renderer command line parameter
> --enable-accessibility. In chrome_switches.h/cc,
> browser_render_process_host.h/cc, and render_view.h/cc?

lgtm

Powered by Google App Engine
This is Rietveld 408576698