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

Issue 9939011: Add an accessibility mode for editable text fields only. (Closed)

Created:
8 years, 8 months ago by dmazzoni
Modified:
8 years, 8 months ago
CC:
chromium-reviews, James Su, 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, ctguil+watch_chromium.org, zork+watch_chromium.org, darin (slow to review), aboxhall, aaronlevbugs
Visibility:
Public.

Description

Add an accessibility mode for editable text fields only. This refactors the triggering of accessibility mode from a boolean state and command-line flag to an AccessibilityMode enum that's passed directly when a new RenderView is created, which is also more readable and avoids the extra command-line flag. Adds a new mode that only syncs editable text nodes, and enables this on Windows 8 so that we can support showing the virtual keyboard when an editable text field gets focus. BUG=122061, 118641 TEST=Adds new test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132267

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase #

Patch Set 3 : Remove stray semicolon #

Patch Set 4 : Fix win build #

Patch Set 5 : Fix checkdeps issues #

Patch Set 6 : Addressed comments and rebased. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -90 lines) Patch
M chrome/browser/chrome_browser_application_mac.mm View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_state_impl.cc View 3 chunks +10 lines, -0 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_browsertest.cc View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/accessibility/renderer_accessibility_browsertest.cc View 1 2 3 4 5 3 chunks +50 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 2 chunks +1 line, -4 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 3 chunks +1 line, -7 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 4 chunks +18 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 5 chunks +5 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 chunks +8 lines, -29 lines 2 comments Download
M content/browser/renderer_host/render_widget_host_view_win.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M content/common/accessibility_messages.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M content/common/view_message_enums.h View 2 chunks +17 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/browser/render_process_host.h View 2 chunks +1 line, -2 lines 0 comments Download
M content/public/browser/render_widget_host.h View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M content/public/common/content_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.h View 4 chunks +8 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 chunks +10 lines, -5 lines 0 comments Download
M content/renderer/renderer_accessibility.h View 1 2 3 4 5 5 chunks +24 lines, -2 lines 0 comments Download
M content/renderer/renderer_accessibility.cc View 1 2 3 4 5 6 chunks +67 lines, -8 lines 0 comments Download
M content/test/mock_render_process_host.h View 1 chunk +1 line, -1 line 0 comments Download
M content/test/mock_render_process_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/test/render_view_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M webkit/glue/webaccessibility.h View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
dmazzoni
8 years, 8 months ago (2012-04-04 23:33:50 UTC) #1
David Tseng
http://codereview.chromium.org/9939011/diff/1/content/browser/accessibility/renderer_accessibility_browsertest.cc File content/browser/accessibility/renderer_accessibility_browsertest.cc (right): http://codereview.chromium.org/9939011/diff/1/content/browser/accessibility/renderer_accessibility_browsertest.cc#newcode479 content/browser/accessibility/renderer_accessibility_browsertest.cc:479: " <li><div role=textbox>text5</div>" Maybe mix in a non-text input ...
8 years, 8 months ago (2012-04-05 01:01:24 UTC) #2
dmazzoni
PTAL; addressed review comments and I think I have it building on all platforms now. ...
8 years, 8 months ago (2012-04-06 21:47:22 UTC) #3
David Tseng
lgtm http://codereview.chromium.org/9939011/diff/12032/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): http://codereview.chromium.org/9939011/diff/12032/content/browser/renderer_host/render_widget_host_impl.cc#newcode658 content/browser/renderer_host/render_widget_host_impl.cc:658: void RenderWidgetHostImpl::EnableFullAccessibilityMode() { It looks like this is ...
8 years, 8 months ago (2012-04-09 17:57:33 UTC) #4
dmazzoni
http://codereview.chromium.org/9939011/diff/12032/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): http://codereview.chromium.org/9939011/diff/12032/content/browser/renderer_host/render_widget_host_impl.cc#newcode658 content/browser/renderer_host/render_widget_host_impl.cc:658: void RenderWidgetHostImpl::EnableFullAccessibilityMode() { On 2012/04/09 17:57:34, David Tseng wrote: ...
8 years, 8 months ago (2012-04-09 18:51:47 UTC) #5
dmazzoni
tony: approval for webkit/ jam: please review everything when you have a chance, most of ...
8 years, 8 months ago (2012-04-09 18:56:14 UTC) #6
ananta
LGTM
8 years, 8 months ago (2012-04-12 22:55:14 UTC) #7
jam
lgtm sorry for the delay, I just saw this. in the future please feel free ...
8 years, 8 months ago (2012-04-12 23:12:05 UTC) #8
dmazzoni
Oops, forgot Tony is out - Darin, can you approve the tiny change in webkit/?
8 years, 8 months ago (2012-04-12 23:24:05 UTC) #9
darin (slow to review)
LGTM for webkit/
8 years, 8 months ago (2012-04-13 19:46:26 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/9939011/12032
8 years, 8 months ago (2012-04-13 19:50:59 UTC) #11
commit-bot: I haz the power
8 years, 8 months ago (2012-04-13 21:16:31 UTC) #12
Change committed as 132267

Powered by Google App Engine
This is Rietveld 408576698