| 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-menu' shows a menu with a hardcoded set of pages and subpages. | 7 * 'settings-menu' shows a menu with a hardcoded set of pages and subpages. |
| 8 */ | 8 */ |
| 9 Polymer({ | 9 Polymer({ |
| 10 is: 'settings-menu', | 10 is: 'settings-menu', |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 settings.navigateTo( | 78 settings.navigateTo( |
| 79 route, /* dynamicParams */ null, /* removeSearch */ true); | 79 route, /* dynamicParams */ null, /* removeSearch */ true); |
| 80 }, | 80 }, |
| 81 | 81 |
| 82 /** | 82 /** |
| 83 * @param {boolean} opened Whether the menu is expanded. | 83 * @param {boolean} opened Whether the menu is expanded. |
| 84 * @return {string} Which icon to use. | 84 * @return {string} Which icon to use. |
| 85 * @private | 85 * @private |
| 86 * */ | 86 * */ |
| 87 arrowState_: function(opened) { | 87 arrowState_: function(opened) { |
| 88 return opened ? 'settings:arrow-drop-up' : 'cr:arrow-drop-down'; | 88 return opened ? 'cr:arrow-drop-up' : 'cr:arrow-drop-down'; |
| 89 }, | 89 }, |
| 90 }); | 90 }); |
| OLD | NEW |