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

Issue 1822823002: Implement Chrome OS accessibility features to highlight focus, caret & cursor. (Closed)

Created:
4 years, 9 months ago by dmazzoni
Modified:
4 years, 9 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, oshima+watch_chromium.org, aboxhall+watch_chromium.org, tfarina, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement Chrome OS accessibility features to highlight focus, caret & cursor. This extends the existing code that handles drawing a focus ring in an overlay layer for ChromeVox and for the keyboard-driven OOBE, and implements support for standalone features to highlight the focused object, the mouse cursor, and the text caret. The preferences to enable highlighting focus, caret, and cursor are behind a flag, so the details of the implementation may be tweaked before this ships. Currently each one has a distinct color, and the cursor highlight fades out when the cursor isn't moving. BUG=314889 Committed: https://crrev.com/b93107c14278a62f0a139fa6db64af89a7f20924 Cr-Commit-Position: refs/heads/master@{#382693}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Rebase #

Patch Set 3 : Addressed feedback, added missing files #

Total comments: 4

Patch Set 4 : Landing without views_delegate change for now #

Unified diffs Side-by-side diffs Delta from patch set Stats (+535 lines, -33 lines) Patch
A chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h View 1 2 1 chunk +67 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc View 3 1 chunk +137 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.h View 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.cc View 5 chunks +20 lines, -3 lines 0 comments Download
A chrome/browser/chromeos/ui/accessibility_cursor_ring_layer.h View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/ui/accessibility_cursor_ring_layer.cc View 1 2 1 chunk +85 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/ui/accessibility_focus_ring_controller.h View 6 chunks +25 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/ui/accessibility_focus_ring_controller.cc View 1 2 3 8 chunks +147 lines, -28 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 chunks +4 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 12 (4 generated)
dmazzoni
4 years, 9 months ago (2016-03-21 21:09:27 UTC) #2
xiyuan
https://codereview.chromium.org/1822823002/diff/1/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc File chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc (right): https://codereview.chromium.org/1822823002/diff/1/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc#newcode93 chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc:93: cursor_point_ = event->root_location(); Think we should use event->location() instead ...
4 years, 9 months ago (2016-03-21 22:59:31 UTC) #3
dmazzoni
https://codereview.chromium.org/1822823002/diff/1/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc File chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc (right): https://codereview.chromium.org/1822823002/diff/1/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc#newcode93 chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc:93: cursor_point_ = event->root_location(); On 2016/03/21 22:59:31, xiyuan wrote: > ...
4 years, 9 months ago (2016-03-22 04:09:30 UTC) #4
xiyuan
lgtm https://codereview.chromium.org/1822823002/diff/40001/chrome/browser/chromeos/ui/accessibility_cursor_ring_layer.h File chrome/browser/chromeos/ui/accessibility_cursor_ring_layer.h (right): https://codereview.chromium.org/1822823002/diff/40001/chrome/browser/chromeos/ui/accessibility_cursor_ring_layer.h#newcode17 chrome/browser/chromeos/ui/accessibility_cursor_ring_layer.h:17: explicit AccessibilityCursorRingLayer(FocusRingLayerDelegate* delegate, nit: explicit not needed when ...
4 years, 9 months ago (2016-03-22 04:34:27 UTC) #5
dmazzoni
Thanks. I'm going to land without the change to the views delegate for now, I'll ...
4 years, 9 months ago (2016-03-22 20:23:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1822823002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1822823002/60001
4 years, 9 months ago (2016-03-22 20:23:39 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-22 21:51:27 UTC) #10
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 21:52:55 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b93107c14278a62f0a139fa6db64af89a7f20924
Cr-Commit-Position: refs/heads/master@{#382693}

Powered by Google App Engine
This is Rietveld 408576698