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

Issue 2482063002: Make the repeat button accessible by keyboard. (Closed)

Created:
4 years, 1 month ago by yamaguchi
Modified:
4 years, 1 month ago
Reviewers:
oka, fukino
CC:
chromium-reviews, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yamaguchi+watch_chromium.org, fukino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make the repeat button accessible by keyboard. As a known issue, duplicated ripple effect will be shown when clicking the icon (instead of keyboard). BUG=662829 TEST=manual test by hitting [TAB] key several times CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/b5275a7dcc189413073ea961c1eb7d3768ef35b8 Cr-Commit-Position: refs/heads/master@{#430897}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Allow injecting the style for keyboard focus of files-icon-button and share the setting with repeat… #

Patch Set 3 : Use separate attribute for visualizing toggle state, for avoiding that [Enter] key erases the focus cursor by "keyboard-focus" class. #

Patch Set 4 : Use files-icon-button inside repeat-button. #

Patch Set 5 : Remove unused styles which was originally copied from files_icon_button.html. #

Total comments: 2

Patch Set 6 : Replace tabs with spaces. #

Patch Set 7 : Add TODO comment. #

Patch Set 8 : Update integration test to follow the change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -31 lines) Patch
M ui/file_manager/audio_player/elements/repeat_button.css View 1 2 3 4 1 chunk +2 lines, -23 lines 0 comments Download
M ui/file_manager/audio_player/elements/repeat_button.html View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M ui/file_manager/integration_tests/file_manager/open_audio_files.js View 1 2 3 4 5 6 7 4 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 29 (16 generated)
yamaguchi
ptal
4 years, 1 month ago (2016-11-08 05:30:07 UTC) #5
oka
https://codereview.chromium.org/2482063002/diff/1/ui/file_manager/audio_player/elements/repeat_button.css File ui/file_manager/audio_player/elements/repeat_button.css (right): https://codereview.chromium.org/2482063002/diff/1/ui/file_manager/audio_player/elements/repeat_button.css#newcode40 ui/file_manager/audio_player/elements/repeat_button.css:40: /* TODO(yamaguchi): Share the style config with other buttons ...
4 years, 1 month ago (2016-11-08 06:18:50 UTC) #9
yamaguchi
https://codereview.chromium.org/2482063002/diff/1/ui/file_manager/audio_player/elements/repeat_button.css File ui/file_manager/audio_player/elements/repeat_button.css (right): https://codereview.chromium.org/2482063002/diff/1/ui/file_manager/audio_player/elements/repeat_button.css#newcode40 ui/file_manager/audio_player/elements/repeat_button.css:40: /* TODO(yamaguchi): Share the style config with other buttons ...
4 years, 1 month ago (2016-11-08 12:15:39 UTC) #10
oka
On 2016/11/08 12:15:39, yamaguchi wrote: > https://codereview.chromium.org/2482063002/diff/1/ui/file_manager/audio_player/elements/repeat_button.css > File ui/file_manager/audio_player/elements/repeat_button.css (right): > > https://codereview.chromium.org/2482063002/diff/1/ui/file_manager/audio_player/elements/repeat_button.css#newcode40 > ...
4 years, 1 month ago (2016-11-09 05:15:25 UTC) #11
yamaguchi
On 2016/11/09 05:15:25, oka wrote: > On 2016/11/08 12:15:39, yamaguchi wrote: > > > https://codereview.chromium.org/2482063002/diff/1/ui/file_manager/audio_player/elements/repeat_button.css ...
4 years, 1 month ago (2016-11-09 08:39:57 UTC) #13
oka
lgtm Thank you! https://codereview.chromium.org/2482063002/diff/80001/ui/file_manager/audio_player/elements/repeat_button.html File ui/file_manager/audio_player/elements/repeat_button.html (right): https://codereview.chromium.org/2482063002/diff/80001/ui/file_manager/audio_player/elements/repeat_button.html#newcode13 ui/file_manager/audio_player/elements/repeat_button.html:13: repeat-mode$="{{repeatMode}}"></files-icon-button> Replace tab with spaces.
4 years, 1 month ago (2016-11-09 08:45:23 UTC) #14
oka
On 2016/11/09 08:45:23, oka wrote: > lgtm > > Thank you! > > https://codereview.chromium.org/2482063002/diff/80001/ui/file_manager/audio_player/elements/repeat_button.html > ...
4 years, 1 month ago (2016-11-09 08:47:30 UTC) #15
yamaguchi
TODO added to repeat-button.html. https://codereview.chromium.org/2482063002/diff/80001/ui/file_manager/audio_player/elements/repeat_button.html File ui/file_manager/audio_player/elements/repeat_button.html (right): https://codereview.chromium.org/2482063002/diff/80001/ui/file_manager/audio_player/elements/repeat_button.html#newcode13 ui/file_manager/audio_player/elements/repeat_button.html:13: repeat-mode$="{{repeatMode}}"></files-icon-button> On 2016/11/09 08:45:23, oka ...
4 years, 1 month ago (2016-11-09 08:57:12 UTC) #18
oka
LGTM. Thank you! On Wed, Nov 9, 2016 at 5:57 PM <yamaguchi@chromium.org> wrote: > TODO ...
4 years, 1 month ago (2016-11-09 09:00:07 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2482063002/120001
4 years, 1 month ago (2016-11-09 09:04:42 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 1 month ago (2016-11-09 09:10:06 UTC) #26
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/b5275a7dcc189413073ea961c1eb7d3768ef35b8 Cr-Commit-Position: refs/heads/master@{#430897}
4 years, 1 month ago (2016-11-09 09:12:23 UTC) #28
vabr (Chromium)
4 years, 1 month ago (2016-11-09 12:03:31 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.chromium.org/2483243004/ by vabr@chromium.org.

The reason for reverting is: Broke
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%...,
more info in http://crbug.com/662829#c3.

Cheers,
today's sheriff.

Powered by Google App Engine
This is Rietveld 408576698