OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 /** @interface */ | 8 /** @interface */ |
9 function LoadErrorDelegate() {} | 9 function LoadErrorDelegate() {} |
10 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 highlight: source ? source.highlight : '', | 57 highlight: source ? source.highlight : '', |
58 afterHighlight: source ? source.afterHighlight : '', | 58 afterHighlight: source ? source.afterHighlight : '', |
59 title: '', | 59 title: '', |
60 message: this.loadError.error, | 60 message: this.loadError.error, |
61 }; | 61 }; |
62 | 62 |
63 this.$.code.code = codeSectionProperties; | 63 this.$.code.code = codeSectionProperties; |
64 }, | 64 }, |
65 }); | 65 }); |
66 | 66 |
67 return {LoadError: LoadError, | 67 return {LoadError: LoadError, LoadErrorDelegate: LoadErrorDelegate}; |
68 LoadErrorDelegate: LoadErrorDelegate}; | |
69 }); | 68 }); |
OLD | NEW |