OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <include src="extension_error_overlay.js"></include> | 5 <include src="extension_error_overlay.js"> |
6 | 6 |
7 cr.define('extensions', function() { | 7 cr.define('extensions', function() { |
8 'use strict'; | 8 'use strict'; |
9 | 9 |
10 /** | 10 /** |
11 * Clone a template within the extension error template collection. | 11 * Clone a template within the extension error template collection. |
12 * @param {string} templateName The class name of the template to clone. | 12 * @param {string} templateName The class name of the template to clone. |
13 * @return {HTMLElement} The clone of the template. | 13 * @return {HTMLElement} The clone of the template. |
14 */ | 14 */ |
15 function cloneTemplate(templateName) { | 15 function cloneTemplate(templateName) { |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 button.textContent = loadTimeData.getString(message); | 146 button.textContent = loadTimeData.getString(message); |
147 button.isShowingAll = !button.isShowingAll; | 147 button.isShowingAll = !button.isShowingAll; |
148 }.bind(this)); | 148 }.bind(this)); |
149 } | 149 } |
150 }; | 150 }; |
151 | 151 |
152 return { | 152 return { |
153 ExtensionErrorList: ExtensionErrorList | 153 ExtensionErrorList: ExtensionErrorList |
154 }; | 154 }; |
155 }); | 155 }); |
OLD | NEW |