Chromium Code Reviews| 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 |