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 (function() { | 5 (function() { |
6 'use strict'; | 6 'use strict'; |
7 | 7 |
8 /** | 8 /** |
9 * Moves |target| element above |anchor| element, in order to match the | 9 * Moves |target| element above |anchor| element, in order to match the |
10 * bottom lines. | 10 * bottom lines. |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
86 * @type {boolean} | 86 * @type {boolean} |
87 */ | 87 */ |
88 playlistExpanded: false, | 88 playlistExpanded: false, |
89 | 89 |
90 /** | 90 /** |
91 * Flag whether the volume slider is expanded or not. | 91 * Flag whether the volume slider is expanded or not. |
92 * @type {boolean} | 92 * @type {boolean} |
93 */ | 93 */ |
94 volumeSliderShown: false, | 94 volumeSliderShown: false, |
95 | 95 |
96 /** | 96 /* |
hirono
2014/02/04 11:21:06
nit: /** ?
Same for the followings.
yoshiki
2014/02/04 11:39:21
Done.
| |
97 * Flag to enable shuffle mode. | 97 * Flag whether the shuffle mode is enabled. |
98 * @type {boolean} | 98 * @type {boolean} |
99 */ | 99 */ |
100 shuffle: false, | 100 shuffle: false, |
101 | 101 |
102 /* | 102 /* |
103 * Flag to enable repeat mode. | 103 * Flag whether the repeat mode is enabled. |
104 * @type {boolean} | 104 * @type {boolean} |
105 */ | 105 */ |
106 repeat: false, | 106 repeat: false, |
107 | 107 |
108 /* | 108 /* |
109 * Flag if the audio is playing or paused. True if playing, or false paused. | 109 * Flag whether the audio is playing or paused. True if playing, or false |
110 * paused. | |
110 * @type {boolean} | 111 * @type {boolean} |
111 */ | 112 */ |
112 playing: false, | 113 playing: false, |
113 | 114 |
114 /** | 115 /** |
115 * Invoked when the 'playlistExpanded' property is changed. | 116 * Invoked when the 'playlistExpanded' property is changed. |
116 * @param {boolean} oldValue old value. | 117 * @param {boolean} oldValue old value. |
117 * @param {boolean} newValue new value. | 118 * @param {boolean} newValue new value. |
118 */ | 119 */ |
119 playlistExpandedChanged: function(oldValue, newValue) { | 120 playlistExpandedChanged: function(oldValue, newValue) { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
168 /** | 169 /** |
169 * Invoked the value of the volume slider is changed. | 170 * Invoked the value of the volume slider is changed. |
170 * @type {number} | 171 * @type {number} |
171 */ | 172 */ |
172 volumeSliderChanged: function() { | 173 volumeSliderChanged: function() { |
173 this.volume = this.$.volumeSlider.value; | 174 this.volume = this.$.volumeSlider.value; |
174 this.fire('volume-changed'); | 175 this.fire('volume-changed'); |
175 }, | 176 }, |
176 }); | 177 }); |
177 })(); // Anonymous closure | 178 })(); // Anonymous closure |
OLD | NEW |