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

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

Issue 1083683003: Speculative revert by sheriff (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed an unrelated commit that had accidentally slipped in. Created 5 years, 8 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="../../../../ui/webui/resources/js/cr/ui/focus_row.js"> 5 <include src="../../../../ui/webui/resources/js/cr/ui/focus_row.js">
6 <include src="../../../../ui/webui/resources/js/cr/ui/focus_grid.js"> 6 <include src="../../../../ui/webui/resources/js/cr/ui/focus_grid.js">
7 <include src="../uber/uber_utils.js"> 7 <include src="../uber/uber_utils.js">
8 <include src="extension_code.js"> 8 <include src="extension_code.js">
9 <include src="extension_commands_overlay.js"> 9 <include src="extension_commands_overlay.js">
10 <include src="extension_error_overlay.js"> 10 <include src="extension_error_overlay.js">
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 window.clearTimeout(this.loadingTimeout_); 256 window.clearTimeout(this.loadingTimeout_);
257 document.documentElement.classList.add('loading'); 257 document.documentElement.classList.add('loading');
258 this.loadingTimeout_ = window.setTimeout(function() { 258 this.loadingTimeout_ = window.setTimeout(function() {
259 document.documentElement.classList.remove('loading'); 259 document.documentElement.classList.remove('loading');
260 }, 0); 260 }, 0);
261 261
262 /** @const */ 262 /** @const */
263 var hasExtensions = extensionList.getNumExtensions() != 0; 263 var hasExtensions = extensionList.getNumExtensions() != 0;
264 $('no-extensions').hidden = hasExtensions; 264 $('no-extensions').hidden = hasExtensions;
265 $('extension-list-wrapper').hidden = !hasExtensions; 265 $('extension-list-wrapper').hidden = !hasExtensions;
266 $('extension-settings-list').updateFocusableElements();
267 }.bind(this)); 266 }.bind(this));
268 }, 267 },
269 268
270 /** 269 /**
271 * Handles the Pack Extension button. 270 * Handles the Pack Extension button.
272 * @param {Event} e Change event. 271 * @param {Event} e Change event.
273 * @private 272 * @private
274 */ 273 */
275 handlePackExtension_: function(e) { 274 handlePackExtension_: function(e) {
276 ExtensionSettings.showOverlay($('pack-extension-overlay')); 275 ExtensionSettings.showOverlay($('pack-extension-overlay'));
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 // Export 442 // Export
444 return { 443 return {
445 ExtensionSettings: ExtensionSettings 444 ExtensionSettings: ExtensionSettings
446 }; 445 };
447 }); 446 });
448 447
449 window.addEventListener('load', function(e) { 448 window.addEventListener('load', function(e) {
450 document.documentElement.classList.add('loading'); 449 document.documentElement.classList.add('loading');
451 extensions.ExtensionSettings.getInstance().initialize(); 450 extensions.ExtensionSettings.getInstance().initialize();
452 }); 451 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/extensions/extension_list.js ('k') | chrome/browser/resources/settings/a11y_page/a11y_page.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698