| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 /** | 5 /** |
| 6 * @fileoverview | 6 * @fileoverview |
| 7 * 'settings-basic-page' is the settings page containing the actual settings. | 7 * 'settings-basic-page' is the settings page containing the actual settings. |
| 8 */ | 8 */ |
| 9 Polymer({ | 9 Polymer({ |
| 10 is: 'settings-basic-page', | 10 is: 'settings-basic-page', |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 showAdvancedSettings_: function(visibility) { | 176 showAdvancedSettings_: function(visibility) { |
| 177 return visibility !== false; | 177 return visibility !== false; |
| 178 }, | 178 }, |
| 179 | 179 |
| 180 /** | 180 /** |
| 181 * @param {boolean} opened Whether the menu is expanded. | 181 * @param {boolean} opened Whether the menu is expanded. |
| 182 * @return {string} Icon name. | 182 * @return {string} Icon name. |
| 183 * @private | 183 * @private |
| 184 */ | 184 */ |
| 185 getArrowIcon_: function(opened) { | 185 getArrowIcon_: function(opened) { |
| 186 return opened ? 'settings:arrow-drop-up' : 'cr:arrow-drop-down'; | 186 return opened ? 'cr:arrow-drop-up' : 'cr:arrow-drop-down'; |
| 187 }, | 187 }, |
| 188 }); | 188 }); |
| OLD | NEW |