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

Side by Side Diff: chrome/browser/resources/md_bookmarks/item.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-item', 6 is: 'bookmarks-item',
7 7
8 behaviors: [ 8 behaviors: [
9 bookmarks.MouseFocusBehavior,
10 bookmarks.StoreClient, 9 bookmarks.StoreClient,
11 ], 10 ],
12 11
13 properties: { 12 properties: {
14 itemId: { 13 itemId: {
15 type: String, 14 type: String,
16 observer: 'onItemIdChanged_', 15 observer: 'onItemIdChanged_',
17 }, 16 },
18 17
19 ironListTabIndex: String, 18 ironListTabIndex: String,
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 }, 154 },
156 155
157 /** 156 /**
158 * @param {string} url 157 * @param {string} url
159 * @private 158 * @private
160 */ 159 */
161 updateFavicon_: function(url) { 160 updateFavicon_: function(url) {
162 this.$.icon.style.backgroundImage = cr.icon.getFavicon(url); 161 this.$.icon.style.backgroundImage = cr.icon.getFavicon(url);
163 }, 162 },
164 }); 163 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698