| 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 cr.define('extensions', function() { | 5 cr.define('extensions', function() { |
| 6 'use strict'; | 6 'use strict'; |
| 7 | 7 |
| 8 var DetailView = Polymer({ | 8 var DetailView = Polymer({ |
| 9 is: 'extensions-detail-view', | 9 is: 'extensions-detail-view', |
| 10 | 10 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 this.data.id, this.$$('#collect-errors').checked); | 83 this.data.id, this.$$('#collect-errors').checked); |
| 84 }, | 84 }, |
| 85 | 85 |
| 86 /** | 86 /** |
| 87 * @param {!chrome.developerPrivate.DependentExtension} item | 87 * @param {!chrome.developerPrivate.DependentExtension} item |
| 88 * @private | 88 * @private |
| 89 */ | 89 */ |
| 90 computeDependentEntry_: function(item) { | 90 computeDependentEntry_: function(item) { |
| 91 return loadTimeData.getStringF('itemDependentEntry', item.name, item.id); | 91 return loadTimeData.getStringF('itemDependentEntry', item.name, item.id); |
| 92 }, | 92 }, |
| 93 |
| 94 /** @private */ |
| 95 computeSourceString_: function() { |
| 96 return extensions.getItemSourceString( |
| 97 extensions.getItemSource(this.data)); |
| 98 } |
| 93 }); | 99 }); |
| 94 | 100 |
| 95 return {DetailView: DetailView}; | 101 return {DetailView: DetailView}; |
| 96 }); | 102 }); |
| OLD | NEW |