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

Issue 1523953004: Fix volume slider to emit value changed events and do not focus system tray item for transient views (Closed)

Created:
5 years ago by David Tseng
Modified:
5 years ago
Reviewers:
dmazzoni, oshima
CC:
chromium-reviews, sadrul, dtseng+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, arv+watch_chromium.org, oshima+watch_chromium.org, kalyank, dmazzoni+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix volume slider to emit value changed events and do not focus system tray item for transient views. SystemTray::ShowItems gets called by SystemTrayItem::PopupDetailedView. The former has some logic to detect when ChromeVox is on. If so, it tries to focus the first item. This is problematic because PopupDetailedView is transient and disappears. The general bug is that ChromeVox gets the focus event and flips itself to compat mode. However, true focus still lives in the web content. BUG=559339 Committed: https://crrev.com/b6cac2bcff25657f70fcd69f414be4884675a443 Cr-Commit-Position: refs/heads/master@{#365565}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : Revise comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M ash/system/audio/volume_view.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M ash/system/tray/system_tray.cc View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js View 1 2 1 chunk +3 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
David Tseng
oshima for ash. In particular, if there are any negative consequences of skipping focusing if ...
5 years ago (2015-12-15 21:01:41 UTC) #3
oshima
ash lgtm with a nit https://codereview.chromium.org/1523953004/diff/20001/ash/system/tray/system_tray.cc File ash/system/tray/system_tray.cc (right): https://codereview.chromium.org/1523953004/diff/20001/ash/system/tray/system_tray.cc#newcode105 ash/system/tray/system_tray.cc:105: !is_persistent) { Am I ...
5 years ago (2015-12-15 23:52:39 UTC) #4
oshima
On 2015/12/15 23:52:39, oshima wrote: > ash lgtm with a nit > > https://codereview.chromium.org/1523953004/diff/20001/ash/system/tray/system_tray.cc > ...
5 years ago (2015-12-15 23:53:01 UTC) #5
David Tseng
Test failure fixed as well. The failure was uncovered by my cl and I filed: ...
5 years ago (2015-12-16 16:47:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1523953004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1523953004/60001
5 years ago (2015-12-16 17:22:39 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-16 18:25:23 UTC) #11
commit-bot: I haz the power
5 years ago (2015-12-16 18:26:47 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b6cac2bcff25657f70fcd69f414be4884675a443
Cr-Commit-Position: refs/heads/master@{#365565}

Powered by Google App Engine
This is Rietveld 408576698