Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Side by Side Diff: chrome/browser/resources/md_bookmarks/app.js

Issue 2981503002: [MD Bookmarks] Refactor focus ring hiding. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698