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

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

Issue 2305623003: Support to repeat one song in Audio Player. (Closed)
Patch Set: Support to repeat one song in Audio Player. 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="chrome://resources/polymer/v1_0/font-roboto/roboto.html "> 8 <link rel="import" href="chrome://resources/polymer/v1_0/font-roboto/roboto.html ">
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-slider/paper-slid er.html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-slider/paper-slid er.html">
10 <link rel="import" href="chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/for eground/elements/files_icon_button.html"> 10 <link rel="import" href="chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/for eground/elements/files_icon_button.html">
11 <link rel="import" href="repeat_button.html">
11 12
12 <dom-module id="control-panel"> 13 <dom-module id="control-panel">
13 <link rel="import" type="css" href="control_panel.css"> 14 <link rel="import" type="css" href="control_panel.css">
14 <template> 15 <template>
15 <div class="controls"> 16 <div class="controls">
16 <div class="upper-controls audio-controls"> 17 <div class="upper-controls audio-controls">
17 <!-- Shuffle toggle button in the bottom line. --> 18 <!-- Shuffle toggle button in the bottom line. -->
18 <files-icon-button toggles 19 <files-icon-button toggles
19 id="shuffle" 20 id="shuffle"
20 class="shuffle-mode media-button toggle" 21 class="shuffle-mode media-button toggle"
21 active="{{shuffle}}"> 22 active="{{shuffle}}">
22 </files-icon-button> 23 </files-icon-button>
23 24
24 <!-- Repeat toggle button in the bottom line. --> 25 <!-- RepeatMode toggle button in the bottom line. -->
25 <files-icon-button toggles 26 <repeat-button
26 id="repeat" 27 id="repeatMode"
fukino 2016/09/09 05:31:45 I think we can still use id #repeat for this butto
harukam 2016/09/09 11:53:45 Acknowledged.
27 class="repeat media-button toggle" 28 class="repeatMode media-button"
fukino 2016/09/09 05:31:45 class="repeat-mode ..
harukam 2016/09/09 11:53:45 Acknowledged.
28 active="{{repeat}}"> 29 repeat-mode="{{repeatMode}}">
29 </files-icon-button> 30 </repeat-button>
30 31
31 <!-- Prev button in the bottom line. --> 32 <!-- Prev button in the bottom line. -->
32 <files-icon-button 33 <files-icon-button
33 id="previous" 34 id="previous"
34 class="previous media-button" 35 class="previous media-button"
35 on-click="previousClick"> 36 on-click="previousClick">
36 </files-icon-button> 37 </files-icon-button>
37 38
38 <!-- Play button in the bottom line. --> 39 <!-- Play button in the bottom line. -->
39 <files-icon-button 40 <files-icon-button
(...skipping 30 matching lines...) Expand all
70 class="volume media-button" 71 class="volume media-button"
71 on-click="volumeClick"> 72 on-click="volumeClick">
72 </files-icon-button> 73 </files-icon-button>
73 <paper-slider id="volumeSlider"></paper-slider> 74 <paper-slider id="volumeSlider"></paper-slider>
74 </div> 75 </div>
75 </div> 76 </div>
76 </template> 77 </template>
77 </dom-module> 78 </dom-module>
78 79
79 <script src="control_panel.js"></script> 80 <script src="control_panel.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698