| 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 /** | 5 /** |
| 6 * @fileoverview 'settings-omnibox-extension-entry' is a component for showing | 6 * @fileoverview 'settings-omnibox-extension-entry' is a component for showing |
| 7 * an omnibox extension with its name and keyword. | 7 * an omnibox extension with its name and keyword. |
| 8 */ | 8 */ |
| 9 Polymer({ | 9 Polymer({ |
| 10 is: 'settings-omnibox-extension-entry', | 10 is: 'settings-omnibox-extension-entry', |
| 11 | 11 |
| 12 behaviors: [settings.ListItemBehavior], |
| 13 |
| 12 properties: { | 14 properties: { |
| 13 /** @type {!SearchEngine} */ | 15 /** @type {!SearchEngine} */ |
| 14 engine: Object, | 16 engine: Object, |
| 15 | 17 |
| 16 /** @private {!settings.SearchEnginesBrowserProxy} */ | 18 /** @private {!settings.SearchEnginesBrowserProxy} */ |
| 17 browserProxy_: Object, | 19 browserProxy_: Object, |
| 18 }, | 20 }, |
| 19 | 21 |
| 20 /** @override */ | 22 /** @override */ |
| 21 created: function() { | 23 created: function() { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 41 | 43 |
| 42 /** | 44 /** |
| 43 * @param {string} url | 45 * @param {string} url |
| 44 * @return {string} A set of icon URLs. | 46 * @return {string} A set of icon URLs. |
| 45 * @private | 47 * @private |
| 46 */ | 48 */ |
| 47 getIconSet_: function(url) { | 49 getIconSet_: function(url) { |
| 48 return cr.icon.getFavicon(url); | 50 return cr.icon.getFavicon(url); |
| 49 }, | 51 }, |
| 50 }); | 52 }); |
| OLD | NEW |