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

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

Issue 10386014: Implement WebContentsView::GetDropData for Mac; disable on Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert more aura changes. Created 8 years, 7 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
« no previous file with comments | « no previous file | chrome/common/extensions/extension_switch_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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="../shared/js/cr/ui/drag_wrapper.js"></include> 5 <include src="../shared/js/cr/ui/drag_wrapper.js"></include>
6 <include src="../uber/uber_utils.js"></include> 6 <include src="../uber/uber_utils.js"></include>
7 <include src="extension_list.js"></include> 7 <include src="extension_list.js"></include>
8 <include src="pack_extension_overlay.js"></include> 8 <include src="pack_extension_overlay.js"></include>
9 9
10 // Used for observing function of the backend datasource for this page by 10 // Used for observing function of the backend datasource for this page by
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 // Set up the three dev mode buttons (load unpacked, pack and update). 88 // Set up the three dev mode buttons (load unpacked, pack and update).
89 $('load-unpacked').addEventListener('click', 89 $('load-unpacked').addEventListener('click',
90 this.handleLoadUnpackedExtension_.bind(this)); 90 this.handleLoadUnpackedExtension_.bind(this));
91 $('pack-extension').addEventListener('click', 91 $('pack-extension').addEventListener('click',
92 this.handlePackExtension_.bind(this)); 92 this.handlePackExtension_.bind(this));
93 $('update-extensions-now').addEventListener('click', 93 $('update-extensions-now').addEventListener('click',
94 this.handleUpdateExtensionNow_.bind(this)); 94 this.handleUpdateExtensionNow_.bind(this));
95 95
96 if (!loadTimeData.getBoolean('offStoreInstallEnabled')) { 96 if (!loadTimeData.getBoolean('offStoreInstallEnabled')) {
97 this.dragWrapper_ = 97 this.dragWrapper_ = new cr.ui.DragWrapper(document.documentElement,
98 new cr.ui.DragWrapper(document.body, dragWrapperHandler); 98 dragWrapperHandler);
99 } 99 }
100 100
101 var packExtensionOverlay = extensions.PackExtensionOverlay.getInstance(); 101 var packExtensionOverlay = extensions.PackExtensionOverlay.getInstance();
102 packExtensionOverlay.initializePage(); 102 packExtensionOverlay.initializePage();
103 103
104 cr.ui.overlay.setupOverlay($('dropTargetOverlay')); 104 cr.ui.overlay.setupOverlay($('dropTargetOverlay'));
105 }, 105 },
106 106
107 /** 107 /**
108 * Handles the Load Unpacked Extension button. 108 * Handles the Load Unpacked Extension button.
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 return { 289 return {
290 ExtensionSettings: ExtensionSettings 290 ExtensionSettings: ExtensionSettings
291 }; 291 };
292 }); 292 });
293 293
294 var ExtensionSettings = extensions.ExtensionSettings; 294 var ExtensionSettings = extensions.ExtensionSettings;
295 295
296 window.addEventListener('load', function(e) { 296 window.addEventListener('load', function(e) {
297 ExtensionSettings.getInstance().initialize(); 297 ExtensionSettings.getInstance().initialize();
298 }); 298 });
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/extension_switch_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698