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 bdaa3f96e4e69a601c04cefcea135ed3dc2035c8..106827da2f619c00e401aa590bf69e300cb7b6ff 100644 |
--- a/chrome/browser/resources/extensions/extension_list.js |
+++ b/chrome/browser/resources/extensions/extension_list.js |
@@ -37,6 +37,7 @@ |
* kioskOnly: boolean, |
* locationText: string, |
* managedInstall: boolean, |
+ * recommendedInstall: boolean, |
Finnur
2014/10/06 14:01:42
It is pretty clear this list should be alphabetica
binjin
2014/10/06 18:48:47
Done.
|
* manifestErrors: (Array.<RuntimeError>|undefined), |
* name: string, |
* offlineEnabled: boolean, |
@@ -170,6 +171,8 @@ cr.define('options', function() { |
extension.dependentExtensions.length > 0) { |
node.classList.add('may-not-modify'); |
node.classList.add('may-not-remove'); |
+ } else if (extension.recommendedInstall) { |
+ node.classList.add('may-not-remove'); |
} else if (extension.suspiciousInstall || extension.corruptInstall) { |
node.classList.add('may-not-modify'); |
} |
@@ -395,7 +398,7 @@ cr.define('options', function() { |
} |
// Then the 'managed, cannot uninstall/disable' message. |
Finnur
2014/10/06 14:01:42
nit: This comment is out of date now, no?
binjin
2014/10/06 18:48:47
I think the comment looks fine to me. It's not res
|
- if (extension.managedInstall) { |
+ if (extension.managedInstall || extension.recommendedInstall) { |
node.querySelector('.managed-message').hidden = false; |
} else { |
if (extension.suspiciousInstall) { |