| OLD | NEW |
| 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="repeat" |
| 27 class="repeat media-button toggle" | 28 class="repeat-mode media-button" |
| 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 Loading... |
| 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> |
| OLD | NEW |