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

Unified Diff: chrome/browser/resources/extensions/extension_list.js

Issue 93513006: Allow re-enabling of DISABLE_NOT_VERIFIED extensions if appropriate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ready for review Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/extensions/extension_list.js
diff --git a/chrome/browser/resources/extensions/extension_list.js b/chrome/browser/resources/extensions/extension_list.js
index dbdf94b339721e0978ef7f46f24f27d682dcbb49..47eb86b93029d9be634e661b2d4a787f9a8b68f6 100644
--- a/chrome/browser/resources/extensions/extension_list.js
+++ b/chrome/browser/resources/extensions/extension_list.js
@@ -88,8 +88,6 @@ cr.define('options', function() {
if (extension.managedInstall) {
node.classList.add('may-not-modify');
node.classList.add('may-not-remove');
- } else if (extension.suspiciousInstall) {
- node.classList.add('may-not-modify');
Finnur 2013/12/11 17:28:20 Wait... why is this necessary? Doesn't it undo wha
asargent_no_longer_on_chrome 2013/12/11 21:26:05 The problem is that if for some reason we got the
Finnur 2013/12/11 21:46:31 OK. For anyone reading at home we had a hangout wh
}
var idToHighlight = this.getIdQueryParam_();
@@ -206,10 +204,9 @@ cr.define('options', function() {
// The 'Enabled' checkbox.
var enable = node.querySelector('.enable-checkbox');
enable.hidden = false;
- enable.querySelector('input').disabled = extension.managedInstall ||
- extension.suspiciousInstall;
+ enable.querySelector('input').disabled = extension.managedInstall;
- if (!extension.managedInstall && !extension.suspiciousInstall) {
+ if (!extension.managedInstall) {
enable.addEventListener('click', function(e) {
// When e.target is the label instead of the checkbox, it doesn't
// have the checked property and the state of the checkbox is

Powered by Google App Engine
This is Rietveld 408576698