| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 Polymer({ | 5 Polymer({ |
| 6 is: 'history-app', | 6 is: 'history-app', |
| 7 | 7 |
| 8 properties: { | 8 properties: { |
| 9 showSidebarFooter: Boolean, | 9 showSidebarFooter: Boolean, |
| 10 | 10 |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 /** | 265 /** |
| 266 * This computed binding is needed to make the iron-pages selector update when | 266 * This computed binding is needed to make the iron-pages selector update when |
| 267 * the synced-device-manager is instantiated for the first time. Otherwise the | 267 * the synced-device-manager is instantiated for the first time. Otherwise the |
| 268 * fallback selection will continue to be used after the corresponding item is | 268 * fallback selection will continue to be used after the corresponding item is |
| 269 * added as a child of iron-pages. | 269 * added as a child of iron-pages. |
| 270 * @param {string} selectedPage | 270 * @param {string} selectedPage |
| 271 * @param {Array} items | 271 * @param {Array} items |
| 272 * @return {string} | 272 * @return {string} |
| 273 * @private | 273 * @private |
| 274 */ | 274 */ |
| 275 getSelectedPage_(selectedPage, items) { | 275 getSelectedPage_: function(selectedPage, items) { |
| 276 return selectedPage; | 276 return selectedPage; |
| 277 }, | 277 }, |
| 278 | 278 |
| 279 /** @private */ | 279 /** @private */ |
| 280 closeDrawer_: function() { | 280 closeDrawer_: function() { |
| 281 var drawer = this.$$('#drawer'); | 281 var drawer = this.$$('#drawer'); |
| 282 if (drawer) | 282 if (drawer) |
| 283 drawer.close(); | 283 drawer.close(); |
| 284 }, | 284 }, |
| 285 }); | 285 }); |
| OLD | NEW |