| 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: 'bookmarks-app', | 6 is: 'bookmarks-app', |
| 7 | 7 |
| 8 behaviors: [ | 8 behaviors: [ |
| 9 bookmarks.MouseFocusBehavior, |
| 9 bookmarks.StoreClient, | 10 bookmarks.StoreClient, |
| 10 ], | 11 ], |
| 11 | 12 |
| 12 properties: { | 13 properties: { |
| 13 /** @private */ | 14 /** @private */ |
| 14 searchTerm_: { | 15 searchTerm_: { |
| 15 type: String, | 16 type: String, |
| 16 observer: 'searchTermChanged_', | 17 observer: 'searchTermChanged_', |
| 17 }, | 18 }, |
| 18 | 19 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 this.dispatch(bookmarks.actions.setSearchResults(ids)); | 124 this.dispatch(bookmarks.actions.setSearchResults(ids)); |
| 124 }.bind(this)); | 125 }.bind(this)); |
| 125 }, | 126 }, |
| 126 | 127 |
| 127 /** @private */ | 128 /** @private */ |
| 128 closedFoldersStateChanged_: function() { | 129 closedFoldersStateChanged_: function() { |
| 129 window.localStorage[LOCAL_STORAGE_CLOSED_FOLDERS_KEY] = | 130 window.localStorage[LOCAL_STORAGE_CLOSED_FOLDERS_KEY] = |
| 130 JSON.stringify(Array.from(this.closedFoldersState_)); | 131 JSON.stringify(Array.from(this.closedFoldersState_)); |
| 131 }, | 132 }, |
| 132 }); | 133 }); |
| OLD | NEW |