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

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

Issue 1019303004: [Extensions] Fix reloading crashed extensions from chrome://extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | 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="extension_error.js"> 5 <include src="extension_error.js">
6 6
7 /////////////////////////////////////////////////////////////////////////////// 7 ///////////////////////////////////////////////////////////////////////////////
8 // ExtensionFocusRow: 8 // ExtensionFocusRow:
9 9
10 /** 10 /**
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 }); 397 });
398 398
399 // The 'Launch' link. 399 // The 'Launch' link.
400 row.setupColumn('.launch-link', 'launch', 'click', function(e) { 400 row.setupColumn('.launch-link', 'launch', 'click', function(e) {
401 chrome.send('extensionSettingsLaunch', [extension.id]); 401 chrome.send('extensionSettingsLaunch', [extension.id]);
402 }); 402 });
403 403
404 // The 'Reload' terminated link. 404 // The 'Reload' terminated link.
405 row.setupColumn('.terminated-reload-link', 'terminatedReload', 'click', 405 row.setupColumn('.terminated-reload-link', 'terminatedReload', 'click',
406 function(e) { 406 function(e) {
407 chrome.send('extensionSettingsReload', [extension.id]); 407 chrome.developerPrivate.reload(extension.id, {failQuietly: true});
408 }); 408 });
409 409
410 // The 'Repair' corrupted link. 410 // The 'Repair' corrupted link.
411 row.setupColumn('.corrupted-repair-button', 'repair', 'click', 411 row.setupColumn('.corrupted-repair-button', 'repair', 'click',
412 function(e) { 412 function(e) {
413 chrome.send('extensionSettingsRepair', [extension.id]); 413 chrome.send('extensionSettingsRepair', [extension.id]);
414 }); 414 });
415 415
416 // The 'Enabled' checkbox. 416 // The 'Enabled' checkbox.
417 row.setupColumn('.enable-checkbox input', 'enabled', 'change', 417 row.setupColumn('.enable-checkbox input', 'enabled', 'change',
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 // TODO(dbeam): why do we need to focus <extensionoptions> before and 927 // TODO(dbeam): why do we need to focus <extensionoptions> before and
928 // after its showing animation? Makes very little sense to me. 928 // after its showing animation? Makes very little sense to me.
929 overlay.setInitialFocus(); 929 overlay.setInitialFocus();
930 }, 930 },
931 }; 931 };
932 932
933 return { 933 return {
934 ExtensionList: ExtensionList 934 ExtensionList: ExtensionList
935 }; 935 };
936 }); 936 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698