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

Issue 1274563004: Show ChromeVox caption panel when spoken feedback is enabled. (Closed)

Created:
5 years, 4 months ago by dmazzoni
Modified:
5 years, 1 month ago
Reviewers:
sadrul, Jun Mukai, oshima
CC:
chromium-reviews, oshima+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, David Tseng, Peter Lundblad
Base URL:
https://chromium.googlesource.com/chromium/src.git@chromevox_panel_html
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show ChromeVox caption panel when spoken feedback is enabled. This adds a widget to the top of the screen that shows the ChromeVox caption panel whenever spoken feedback is enabled. It automatically waits for the web content to load before showing it to avoid flicker. Depends on: https://codereview.chromium.org/1277183003/ BUG=420795 Committed: https://crrev.com/94a4f8863e29f28060662ccbee973fe640d08626 Cr-Commit-Position: refs/heads/master@{#359499}

Patch Set 1 #

Patch Set 2 : More complete implementation #

Patch Set 3 : Add missing files #

Total comments: 19

Patch Set 4 : Address feedback from Jun Mukai #

Patch Set 5 : Add hook to disable/close ChromeVox #

Total comments: 17

Patch Set 6 : Address feedback from Oshima #

Patch Set 7 : Add SetDisplayWorkAreaInsetsForTesting for tests #

Total comments: 7

Patch Set 8 : Return gfx::Insets again, use scoped_ptr for widget observer #

Patch Set 9 : Keep responsibility for insets in ShelfLayoutManager #

Total comments: 6

Patch Set 10 : Make not activatable to avoid test failures #

Patch Set 11 : Fix last nits #

Patch Set 12 : Fix typo in last upload #

Patch Set 13 : Explicitly close panel in AccessibilityManager dtor #

Patch Set 14 : Fix crash when widget is destroyed without being closed #

Patch Set 15 : Handle case with two ChromeVox instances, just one panel #

Patch Set 16 : Don't let ChromeVox Classic run on panel #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -0 lines) Patch
M ash/shelf/shelf_layout_manager.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +57 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/accessibility/chromevox_panel.h View 1 2 3 4 5 6 7 8 1 chunk +59 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/accessibility/chromevox_panel.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +146 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/manifest.json.jinja2 View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 28 (6 generated)
dmazzoni
Jun and/or Sadrul, I'd like to add a small bit of UI to the top ...
5 years, 4 months ago (2015-08-07 21:02:19 UTC) #2
Jun Mukai
On 2015/08/07 21:02:19, dmazzoni wrote: > Jun and/or Sadrul, I'd like to add a small ...
5 years, 4 months ago (2015-08-07 21:28:30 UTC) #3
dmazzoni
+tdanderson
5 years, 4 months ago (2015-08-07 21:30:14 UTC) #5
dmazzoni
Notes from in-person discussion with Jun Mukai: I'm going to try integrating this with ash/shelf ...
5 years, 4 months ago (2015-08-07 21:53:41 UTC) #6
tdanderson
On 2015/08/07 21:53:41, dmazzoni wrote: > Notes from in-person discussion with Jun Mukai: I'm going ...
5 years, 4 months ago (2015-08-10 18:05:35 UTC) #7
sadrul
On 2015/08/10 18:05:35, tdanderson wrote: > On 2015/08/07 21:53:41, dmazzoni wrote: > > Notes from ...
5 years, 4 months ago (2015-08-10 18:13:50 UTC) #8
dmazzoni
PTAL. I finally got back to this change and basically got it working. I think ...
5 years, 1 month ago (2015-11-04 23:59:31 UTC) #10
Jun Mukai
+oshima https://codereview.chromium.org/1274563004/diff/40001/ash/shell.h File ash/shell.h (left): https://codereview.chromium.org/1274563004/diff/40001/ash/shell.h#oldcode278 ash/shell.h:278: // Remove this. I think removing this TODO ...
5 years, 1 month ago (2015-11-05 17:38:02 UTC) #12
dmazzoni
https://codereview.chromium.org/1274563004/diff/40001/ash/shell.h File ash/shell.h (left): https://codereview.chromium.org/1274563004/diff/40001/ash/shell.h#oldcode278 ash/shell.h:278: // Remove this. On 2015/11/05 17:38:01, Jun Mukai wrote: ...
5 years, 1 month ago (2015-11-05 20:12:58 UTC) #13
oshima
https://codereview.chromium.org/1274563004/diff/40001/chrome/browser/chromeos/accessibility/accessibility_manager.h File chrome/browser/chromeos/accessibility/accessibility_manager.h (right): https://codereview.chromium.org/1274563004/diff/40001/chrome/browser/chromeos/accessibility/accessibility_manager.h#newcode301 chrome/browser/chromeos/accessibility/accessibility_manager.h:301: ChromeVoxPanel* chromevox_panel_; document ownership https://codereview.chromium.org/1274563004/diff/80001/ash/accessibility_delegate.h File ash/accessibility_delegate.h (right): https://codereview.chromium.org/1274563004/diff/80001/ash/accessibility_delegate.h#newcode11 ...
5 years, 1 month ago (2015-11-05 23:58:51 UTC) #14
dmazzoni
https://codereview.chromium.org/1274563004/diff/80001/ash/accessibility_delegate.h File ash/accessibility_delegate.h (right): https://codereview.chromium.org/1274563004/diff/80001/ash/accessibility_delegate.h#newcode11 ash/accessibility_delegate.h:11: #include "ui/gfx/geometry/insets.h" On 2015/11/05 23:58:50, oshima wrote: > you ...
5 years, 1 month ago (2015-11-06 17:28:15 UTC) #15
dmazzoni
Note: I added SetDisplayWorkAreaInsetsForTesting to support existing tests. It seems to make sense since the ...
5 years, 1 month ago (2015-11-06 17:46:38 UTC) #16
Jun Mukai
https://codereview.chromium.org/1274563004/diff/120001/ash/accessibility_delegate.h File ash/accessibility_delegate.h (right): https://codereview.chromium.org/1274563004/diff/120001/ash/accessibility_delegate.h#newcode103 ash/accessibility_delegate.h:103: gfx::Insets* out_insets) const = 0; Why this comes to ...
5 years, 1 month ago (2015-11-06 18:21:04 UTC) #17
oshima
https://codereview.chromium.org/1274563004/diff/80001/ash/shelf/shelf_layout_manager.h File ash/shelf/shelf_layout_manager.h (right): https://codereview.chromium.org/1274563004/diff/80001/ash/shelf/shelf_layout_manager.h#newcode420 ash/shelf/shelf_layout_manager.h:420: gfx::Insets work_area_insets_; On 2015/11/06 17:28:14, dmazzoni wrote: > On ...
5 years, 1 month ago (2015-11-06 18:21:16 UTC) #18
dmazzoni
https://codereview.chromium.org/1274563004/diff/80001/ash/shelf/shelf_layout_manager.h File ash/shelf/shelf_layout_manager.h (right): https://codereview.chromium.org/1274563004/diff/80001/ash/shelf/shelf_layout_manager.h#newcode420 ash/shelf/shelf_layout_manager.h:420: gfx::Insets work_area_insets_; On 2015/11/06 18:21:15, oshima wrote: > On ...
5 years, 1 month ago (2015-11-09 23:02:06 UTC) #19
oshima
https://codereview.chromium.org/1274563004/diff/80001/ash/shelf/shelf_layout_manager.h File ash/shelf/shelf_layout_manager.h (right): https://codereview.chromium.org/1274563004/diff/80001/ash/shelf/shelf_layout_manager.h#newcode420 ash/shelf/shelf_layout_manager.h:420: gfx::Insets work_area_insets_; On 2015/11/09 23:02:06, dmazzoni wrote: > On ...
5 years, 1 month ago (2015-11-10 01:47:31 UTC) #20
dmazzoni
I think I understand what you had in mind now. Take a look, I took ...
5 years, 1 month ago (2015-11-10 18:45:38 UTC) #21
oshima
thanks. lgtm if you addressed nits below. https://codereview.chromium.org/1274563004/diff/160001/chrome/browser/chromeos/accessibility/accessibility_manager.cc File chrome/browser/chromeos/accessibility/accessibility_manager.cc (right): https://codereview.chromium.org/1274563004/diff/160001/chrome/browser/chromeos/accessibility/accessibility_manager.cc#newcode284 chrome/browser/chromeos/accessibility/accessibility_manager.cc:284: widget_->RemoveObserver(this); nit: ...
5 years, 1 month ago (2015-11-10 19:47:51 UTC) #22
dmazzoni
https://codereview.chromium.org/1274563004/diff/160001/chrome/browser/chromeos/accessibility/accessibility_manager.cc File chrome/browser/chromeos/accessibility/accessibility_manager.cc (right): https://codereview.chromium.org/1274563004/diff/160001/chrome/browser/chromeos/accessibility/accessibility_manager.cc#newcode284 chrome/browser/chromeos/accessibility/accessibility_manager.cc:284: widget_->RemoveObserver(this); On 2015/11/10 19:47:51, oshima wrote: > nit: you ...
5 years, 1 month ago (2015-11-10 21:55:51 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1274563004/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1274563004/300001
5 years, 1 month ago (2015-11-13 04:58:38 UTC) #26
commit-bot: I haz the power
Committed patchset #16 (id:300001)
5 years, 1 month ago (2015-11-13 05:47:00 UTC) #27
commit-bot: I haz the power
5 years, 1 month ago (2015-11-13 05:47:57 UTC) #28
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/94a4f8863e29f28060662ccbee973fe640d08626
Cr-Commit-Position: refs/heads/master@{#359499}

Powered by Google App Engine
This is Rietveld 408576698