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

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

Issue 11962043: Move webui resources from chrome\browser\resources\shared to ui\webui\resources. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
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"></include> 5 <include src="../uber/uber_utils.js"></include>
6 <include src="extension_commands_overlay.js"></include> 6 <include src="extension_commands_overlay.js"></include>
7 <include src="extension_focus_manager.js"></include> 7 <include src="extension_focus_manager.js"></include>
8 <include src="extension_list.js"></include> 8 <include src="extension_list.js"></include>
9 <include src="pack_extension_overlay.js"></include> 9 <include src="pack_extension_overlay.js"></include>
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 extensions.ExtensionFocusManager.getInstance().initialize(); 118 extensions.ExtensionFocusManager.getInstance().initialize();
119 119
120 var path = document.location.pathname; 120 var path = document.location.pathname;
121 if (path.length > 1) { 121 if (path.length > 1) {
122 // Skip starting slash and remove trailing slash (if any). 122 // Skip starting slash and remove trailing slash (if any).
123 var overlayName = path.slice(1).replace(/\/$/, ''); 123 var overlayName = path.slice(1).replace(/\/$/, '');
124 if (overlayName == 'configureCommands') 124 if (overlayName == 'configureCommands')
125 this.showExtensionCommandsConfigUi_(); 125 this.showExtensionCommandsConfigUi_();
126 } 126 }
127 127
128 preventDefaultOnPoundLinkClicks(); // From shared/js/util.js. 128 preventDefaultOnPoundLinkClicks(); // From webui/js/util.js.
129 }, 129 },
130 130
131 /** 131 /**
132 * Handles the Load Unpacked Extension button. 132 * Handles the Load Unpacked Extension button.
133 * @param {Event} e Change event. 133 * @param {Event} e Change event.
134 * @private 134 * @private
135 */ 135 */
136 handleLoadUnpackedExtension_: function(e) { 136 handleLoadUnpackedExtension_: function(e) {
137 chrome.send('extensionSettingsLoadUnpackedExtension'); 137 chrome.send('extensionSettingsLoadUnpackedExtension');
138 138
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 return { 360 return {
361 ExtensionSettings: ExtensionSettings 361 ExtensionSettings: ExtensionSettings
362 }; 362 };
363 }); 363 });
364 364
365 var ExtensionSettings = extensions.ExtensionSettings; 365 var ExtensionSettings = extensions.ExtensionSettings;
366 366
367 window.addEventListener('load', function(e) { 367 window.addEventListener('load', function(e) {
368 ExtensionSettings.getInstance().initialize(); 368 ExtensionSettings.getInstance().initialize();
369 }); 369 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/extensions/extensions.html ('k') | chrome/browser/resources/file_manager/action_choice.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698