| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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="../uber/uber_utils.js"> | 5 <include src="../uber/uber_utils.js"> |
| 6 <include src="extension_code.js"> | 6 <include src="extension_code.js"> |
| 7 <include src="extension_commands_overlay.js"> | 7 <include src="extension_commands_overlay.js"> |
| 8 <include src="extension_error_overlay.js"> | 8 <include src="extension_error_overlay.js"> |
| 9 <include src="extension_focus_manager.js"> | 9 <include src="extension_focus_manager.js"> |
| 10 <include src="extension_list.js"> | 10 <include src="extension_list.js"> |
| 11 <include src="pack_extension_overlay.js"> | 11 <include src="pack_extension_overlay.js"> |
| 12 <include src="extension_loader.js"> | 12 <include src="extension_loader.js"> |
| 13 <include src="extension_options_overlay.js"> | 13 <include src="extension_options_overlay.js"> |
| 14 | 14 |
| 15 <if expr="chromeos"> | 15 <if expr="chromeos"> |
| 16 <include src="chromeos/kiosk_apps.js"> | 16 <include src="chromeos/kiosk_apps.js"> |
| 17 </if> | 17 </if> |
| 18 | 18 |
| 19 /** | 19 /** |
| 20 * The type of the extension data object. The definition is based on | 20 * The type of the extension data object. The definition is based on |
| 21 * chrome/browser/ui/webui/extensions/extension_settings_handler.cc: | 21 * chrome/browser/ui/webui/extensions/extension_settings_handler.cc: |
| 22 * ExtensionSettingsHandler::HandleRequestExtensionsData() | 22 * ExtensionSettingsHandler::HandleRequestExtensionsData() |
| 23 * @typedef {{developerMode: boolean, | 23 * @typedef {{developerMode: boolean, |
| 24 * enableExtensionInfoDialog: boolean, | |
| 25 * extensions: Array, | 24 * extensions: Array, |
| 26 * incognitoAvailable: boolean, | 25 * incognitoAvailable: boolean, |
| 27 * loadUnpackedDisabled: boolean, | 26 * loadUnpackedDisabled: boolean, |
| 28 * profileIsSupervised: boolean, | 27 * profileIsSupervised: boolean, |
| 29 * promoteAppsDevTools: boolean}} | 28 * promoteAppsDevTools: boolean}} |
| 30 */ | 29 */ |
| 31 var ExtensionDataResponse; | 30 var ExtensionDataResponse; |
| 32 | 31 |
| 33 // Used for observing function of the backend datasource for this page by | 32 // Used for observing function of the backend datasource for this page by |
| 34 // tests. | 33 // tests. |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 | 457 |
| 459 // Export | 458 // Export |
| 460 return { | 459 return { |
| 461 ExtensionSettings: ExtensionSettings | 460 ExtensionSettings: ExtensionSettings |
| 462 }; | 461 }; |
| 463 }); | 462 }); |
| 464 | 463 |
| 465 window.addEventListener('load', function(e) { | 464 window.addEventListener('load', function(e) { |
| 466 extensions.ExtensionSettings.getInstance().initialize(); | 465 extensions.ExtensionSettings.getInstance().initialize(); |
| 467 }); | 466 }); |
| OLD | NEW |