Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Side by Side Diff: chrome/browser/resources/extensions/extensions.js

Issue 664473005: Hide second 'Details' link on extensions page if App Info dialog used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Hid extra 'details' link Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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,
24 * extensions: Array, 25 * extensions: Array,
25 * incognitoAvailable: boolean, 26 * incognitoAvailable: boolean,
26 * loadUnpackedDisabled: boolean, 27 * loadUnpackedDisabled: boolean,
27 * profileIsSupervised: boolean, 28 * profileIsSupervised: boolean,
28 * promoteAppsDevTools: boolean}} 29 * promoteAppsDevTools: boolean}}
29 */ 30 */
30 var ExtensionDataResponse; 31 var ExtensionDataResponse;
31 32
32 // Used for observing function of the backend datasource for this page by 33 // Used for observing function of the backend datasource for this page by
33 // tests. 34 // tests.
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 458
458 // Export 459 // Export
459 return { 460 return {
460 ExtensionSettings: ExtensionSettings 461 ExtensionSettings: ExtensionSettings
461 }; 462 };
462 }); 463 });
463 464
464 window.addEventListener('load', function(e) { 465 window.addEventListener('load', function(e) {
465 extensions.ExtensionSettings.getInstance().initialize(); 466 extensions.ExtensionSettings.getInstance().initialize();
466 }); 467 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698