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

Issue 2305623003: Support to repeat one song in Audio Player. (Closed)

Created:
4 years, 3 months ago by harukam
Modified:
4 years, 2 months ago
Reviewers:
fukino
CC:
chromium-reviews, yamaguchi+watch_chromium.org, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, jlklein+watch-closure_chromium.org, fukino+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support to repeat one song in Audio Player. Repeat mode can be 3 states. A) Stop playing when all songs have been played. B) Keep on playing by same order when all songs have been played. C) Set a single song to repeat. Created a repeat-button that has 1 state (A) as the OFF, and 2 states (B/C) as the ON in toggle-button in order to show all 3 states visually. BUG=524884 TEST=browser_tests --gtest_filter=OpenAudioFiles* Committed: https://crrev.com/ce5ebc11016280f6ef7b6bf69a06b9f5716caa75 Cr-Commit-Position: refs/heads/master@{#418755}

Patch Set 1 #

Total comments: 19

Patch Set 2 : Support to repeat one song in Audio Player. #

Patch Set 3 : Support to repeat one song in Audio Player. #

Total comments: 10

Patch Set 4 : Support to repeat one song in Audio Player. #

Patch Set 5 : Add a test for 3 repeat mode. #

Total comments: 6

Patch Set 6 : Add a test for 3 repeat mode. #

Total comments: 4

Patch Set 7 : Add a test for 3 repeat mode. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+351 lines, -43 lines) Patch
M chrome/browser/chromeos/file_manager/file_manager_browsertest.cc View 1 2 3 4 1 chunk +7 lines, -4 lines 0 comments Download
A ui/file_manager/audio_player/assets/100/player_button_repeat_one.png View Binary file 0 comments Download
A ui/file_manager/audio_player/assets/200/player_button_repeat_one.png View Binary file 0 comments Download
M ui/file_manager/audio_player/elements/audio_player.html View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/audio_player/elements/audio_player.js View 1 2 3 4 4 chunks +19 lines, -6 lines 0 comments Download
M ui/file_manager/audio_player/elements/compiled_resources2.gyp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/file_manager/audio_player/elements/control_panel.css View 1 2 3 1 chunk +1 line, -8 lines 0 comments Download
M ui/file_manager/audio_player/elements/control_panel.html View 1 2 3 2 chunks +6 lines, -5 lines 0 comments Download
M ui/file_manager/audio_player/elements/control_panel.js View 1 2 3 4 1 chunk +5 lines, -4 lines 0 comments Download
A ui/file_manager/audio_player/elements/repeat_button.css View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download
A ui/file_manager/audio_player/elements/repeat_button.html View 1 1 chunk +16 lines, -0 lines 0 comments Download
A ui/file_manager/audio_player/elements/repeat_button.js View 1 2 3 4 1 chunk +65 lines, -0 lines 0 comments Download
M ui/file_manager/audio_player/js/audio_player.js View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/audio_player/js/compiled_resources.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/file_manager_resources.grd View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/file_manager/integration_tests/file_manager/open_audio_files.js View 1 2 3 4 5 6 8 chunks +186 lines, -14 lines 0 comments Download

Messages

Total messages: 29 (10 generated)
harukam
Fukino-san, please take a look. https://codereview.chromium.org/2305623003/diff/1/ui/file_manager/audio_player/elements/audio_player.js File ui/file_manager/audio_player/elements/audio_player.js (right): https://codereview.chromium.org/2305623003/diff/1/ui/file_manager/audio_player/elements/audio_player.js#newcode283 ui/file_manager/audio_player/elements/audio_player.js:283: this.$.trackList.fire('current-track-index-changed'); Question, do you ...
4 years, 3 months ago (2016-09-02 11:27:27 UTC) #2
fukino
https://codereview.chromium.org/2305623003/diff/1/ui/file_manager/audio_player/elements/audio_player.js File ui/file_manager/audio_player/elements/audio_player.js (right): https://codereview.chromium.org/2305623003/diff/1/ui/file_manager/audio_player/elements/audio_player.js#newcode274 ui/file_manager/audio_player/elements/audio_player.js:274: advance_: function(forward, repeatMode) { I think we don't need ...
4 years, 3 months ago (2016-09-02 12:11:49 UTC) #3
harukam
Thanks for your review. I have two questions about "audio_player.js". Could you take a look? ...
4 years, 3 months ago (2016-09-05 04:35:03 UTC) #4
fukino
https://codereview.chromium.org/2305623003/diff/1/ui/file_manager/audio_player/elements/audio_player.js File ui/file_manager/audio_player/elements/audio_player.js (right): https://codereview.chromium.org/2305623003/diff/1/ui/file_manager/audio_player/elements/audio_player.js#newcode274 ui/file_manager/audio_player/elements/audio_player.js:274: advance_: function(forward, repeatMode) { On 2016/09/05 04:35:03, harukam wrote: ...
4 years, 3 months ago (2016-09-05 11:44:13 UTC) #5
harukam
Sorry for being late. Please take another look! https://codereview.chromium.org/2305623003/diff/1/ui/file_manager/audio_player/elements/audio_player.js File ui/file_manager/audio_player/elements/audio_player.js (right): https://codereview.chromium.org/2305623003/diff/1/ui/file_manager/audio_player/elements/audio_player.js#newcode274 ui/file_manager/audio_player/elements/audio_player.js:274: advance_: ...
4 years, 3 months ago (2016-09-09 04:54:51 UTC) #6
fukino
It's getting close. Please write CL description to explain what you did in this CL. ...
4 years, 3 months ago (2016-09-09 05:31:46 UTC) #7
harukam
Thank you for reviewing. Updated issue description. Please take a look. https://codereview.chromium.org/2305623003/diff/40001/ui/file_manager/audio_player/elements/control_panel.css File ui/file_manager/audio_player/elements/control_panel.css (right): ...
4 years, 3 months ago (2016-09-09 11:53:45 UTC) #9
fukino
LGTM with a nit. Please write the CL description between the title and BUG= linke. ...
4 years, 3 months ago (2016-09-09 11:59:39 UTC) #10
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/2305623003/60001
4 years, 3 months ago (2016-09-12 02:14:22 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/276410)
4 years, 3 months ago (2016-09-12 03:24:01 UTC) #15
harukam
fukino-san, I added some tests for new repeat mode. Please take a look.
4 years, 3 months ago (2016-09-13 07:32:47 UTC) #16
fukino
https://codereview.chromium.org/2305623003/diff/80001/ui/file_manager/integration_tests/file_manager/open_audio_files.js File ui/file_manager/integration_tests/file_manager/open_audio_files.js (right): https://codereview.chromium.org/2305623003/diff/80001/ui/file_manager/integration_tests/file_manager/open_audio_files.js#newcode399 ui/file_manager/integration_tests/file_manager/open_audio_files.js:399: this.next); this.next is called twice in this function. You ...
4 years, 3 months ago (2016-09-13 11:59:49 UTC) #17
harukam
Thank you for your review. Please take a look again! https://codereview.chromium.org/2305623003/diff/80001/ui/file_manager/integration_tests/file_manager/open_audio_files.js File ui/file_manager/integration_tests/file_manager/open_audio_files.js (right): https://codereview.chromium.org/2305623003/diff/80001/ui/file_manager/integration_tests/file_manager/open_audio_files.js#newcode399 ...
4 years, 3 months ago (2016-09-14 05:58:09 UTC) #18
fukino
lgtm with nits. https://codereview.chromium.org/2305623003/diff/100001/ui/file_manager/integration_tests/file_manager/open_audio_files.js File ui/file_manager/integration_tests/file_manager/open_audio_files.js (right): https://codereview.chromium.org/2305623003/diff/100001/ui/file_manager/integration_tests/file_manager/open_audio_files.js#newcode396 ui/file_manager/integration_tests/file_manager/open_audio_files.js:396: function(element) { nit: Please remove |element|, ...
4 years, 3 months ago (2016-09-14 11:05:54 UTC) #19
harukam
Thanks! https://codereview.chromium.org/2305623003/diff/100001/ui/file_manager/integration_tests/file_manager/open_audio_files.js File ui/file_manager/integration_tests/file_manager/open_audio_files.js (right): https://codereview.chromium.org/2305623003/diff/100001/ui/file_manager/integration_tests/file_manager/open_audio_files.js#newcode396 ui/file_manager/integration_tests/file_manager/open_audio_files.js:396: function(element) { On 2016/09/14 11:05:54, fukino wrote: > ...
4 years, 3 months ago (2016-09-15 01:33:03 UTC) #20
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/2305623003/120001
4 years, 3 months ago (2016-09-15 01:33:44 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-15 02:07:13 UTC) #25
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/ce5ebc11016280f6ef7b6bf69a06b9f5716caa75 Cr-Commit-Position: refs/heads/master@{#418755}
4 years, 3 months ago (2016-09-15 02:10:16 UTC) #27
ulaygyi05pt
4 years, 2 months ago (2016-10-05 02:38:52 UTC) #29
Message was sent while issue was closed.
On 2016/09/15 02:10:16, commit-bot: I haz the power wrote:
> Patchset 7 (id:??) landed as
> https://crrev.com/ce5ebc11016280f6ef7b6bf69a06b9f5716caa75
> Cr-Commit-Position: refs/heads/master@{#418755}

Powered by Google App Engine
This is Rietveld 408576698