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

Side by Side Diff: ui/file_manager/audio_player/elements/audio_player.html

Issue 2305623003: Support to repeat one song in Audio Player. (Closed)
Patch Set: Add a test for 3 repeat mode. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 -- Copyright 2015 The Chromium Authors. All rights reserved. 2 -- Copyright 2015 The Chromium Authors. All rights reserved.
3 -- Use of this source code is governed by a BSD-style license that can be 3 -- Use of this source code is governed by a BSD-style license that can be
4 -- found in the LICENSE file. 4 -- found in the LICENSE file.
5 --> 5 -->
6 6
7 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
8 <link rel="import" href="track_info_panel.html"> 8 <link rel="import" href="track_info_panel.html">
9 <link rel="import" href="track_list.html"> 9 <link rel="import" href="track_list.html">
10 <link rel="import" href="control_panel.html"> 10 <link rel="import" href="control_panel.html">
11 11
12 <dom-module id="audio-player"> 12 <dom-module id="audio-player">
13 <link rel="import" type="css" href="audio_player.css"> 13 <link rel="import" type="css" href="audio_player.css">
14 <template> 14 <template>
15 <track-info-panel id="trackInfo" 15 <track-info-panel id="trackInfo"
16 expanded="{{trackInfoExpanded}}"></track-info-panel> 16 expanded="{{trackInfoExpanded}}"></track-info-panel>
17 <track-list id="trackList" 17 <track-list id="trackList"
18 expanded$="[[playlistExpanded]]" 18 expanded$="[[playlistExpanded]]"
19 shuffle="[[shuffle]]" 19 shuffle="[[shuffle]]"
20 current-track-index="{{currentTrackIndex}}" 20 current-track-index="{{currentTrackIndex}}"
21 on-replay="onReplayCurrentTrack" 21 on-replay="onReplayCurrentTrack"
22 on-play="onPlayCurrentTrack"></track-list> 22 on-play="onPlayCurrentTrack"></track-list>
23 <control-panel id="audioController" 23 <control-panel id="audioController"
24 playing="{{playing}}" 24 playing="{{playing}}"
25 time="{{time}}" 25 time="{{time}}"
26 duration="[[duration]]" 26 duration="[[duration]]"
27 shuffle="{{shuffle}}" 27 shuffle="{{shuffle}}"
28 repeat="{{repeat}}" 28 repeat-mode="{{repeatMode}}"
29 volume="{{volume}}" 29 volume="{{volume}}"
30 playlist-expanded="{{playlistExpanded}}" 30 playlist-expanded="{{playlistExpanded}}"
31 aria-labels="[[ariaLabels]]" 31 aria-labels="[[ariaLabels]]"
32 on-next-clicked="onControllerNextClicked" 32 on-next-clicked="onControllerNextClicked"
33 on-previous-clicked="onControllerPreviousClicked"></control-panel> 33 on-previous-clicked="onControllerPreviousClicked"></control-panel>
34 <audio id="audio" 34 <audio id="audio"
35 volume="[[computeAudioVolume_(volume)]]"></audio> 35 volume="[[computeAudioVolume_(volume)]]"></audio>
36 </template> 36 </template>
37 </dom-module> 37 </dom-module>
38 38
39 <script src="audio_player.js"></script> 39 <script src="audio_player.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698