OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 'use strict'; | |
6 | |
7 Polymer('audio-player', { | 5 Polymer('audio-player', { |
8 /** | 6 /** |
9 * Child Elements | 7 * Child Elements |
10 */ | 8 */ |
11 audioController: null, | 9 audioController: null, |
12 audioElement: null, | 10 audioElement: null, |
13 trackList: null, | 11 trackList: null, |
14 | 12 |
15 // Attributes of the element (lower characters only). | 13 // Attributes of the element (lower characters only). |
16 // These values must be used only to data binding and shouldn't be assigned | 14 // These values must be used only to data binding and shouldn't be assigned |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 break; | 371 break; |
374 case 'MediaPreviousTrack': | 372 case 'MediaPreviousTrack': |
375 this.onControllerPreviousClicked(); | 373 this.onControllerPreviousClicked(); |
376 break; | 374 break; |
377 case 'MediaStop': | 375 case 'MediaStop': |
378 // TODO: Define "Stop" behavior. | 376 // TODO: Define "Stop" behavior. |
379 break; | 377 break; |
380 } | 378 } |
381 }, | 379 }, |
382 }); | 380 }); |
OLD | NEW |