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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 showVolumeController_: function(show) { | 168 showVolumeController_: function(show) { |
169 if (show) { | 169 if (show) { |
170 matchBottomLine(this.$.volumeContainer, this.$.volumeButton); | 170 matchBottomLine(this.$.volumeContainer, this.$.volumeButton); |
171 this.$.volumeContainer.style.visibility = 'visible'; | 171 this.$.volumeContainer.style.visibility = 'visible'; |
172 } else { | 172 } else { |
173 this.$.volumeContainer.style.visibility = 'hidden'; | 173 this.$.volumeContainer.style.visibility = 'hidden'; |
174 } | 174 } |
175 }, | 175 }, |
176 }); | 176 }); |
177 })(); // Anonymous closure | 177 })(); // Anonymous closure |
OLD | NEW |