Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / file_manager / audio_player / elements / audio_player.html
blob133b260879d5961e932fb7397664857fca407a97
1 <!--
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
4 -- found in the LICENSE file.
5 -->
7 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
8 <link rel="import" href="track_list.html">
9 <link rel="import" href="control_panel.html">
11 <dom-module id="audio-player">
12 <link rel="import" type="css" href="audio_player.css">
13 <template>
14 <track-list id="trackList"
15 expanded$="[[expanded]]"
16 shuffle="[[shuffle]]"
17 current-track-index="{{currentTrackIndex}}"
18 on-replay="onReplayCurrentTrack"></track-list>
19 <control-panel id="audioController"
20 playing="{{playing}}"
21 time="{{time}}"
22 duration="[[duration]]"
23 shuffle="{{shuffle}}"
24 repeat="{{repeat}}"
25 volume="{{volume}}"
26 expanded="{{expanded}}"
27 on-next-clicked="onControllerNextClicked"
28 on-previous-clicked="onControllerPreviousClicked"></control-panel>
29 <audio id="audio"
30 volume="[[computeAudioVolume_(volume)]]"></audio>
31 </template>
32 </dom-module>
34 <script src="audio_player.js"></script>