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

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

Issue 9234076: Implementation of the Extension Activity Log UI behind a flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Dan's comments. Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options/extension_list.js
diff --git a/chrome/browser/resources/options/extension_list.js b/chrome/browser/resources/options/extension_list.js
index 5cbad97d5c538d2d7e78b6919cb8e7c123cd53bb..ca25276f7af9cc17bb4519f66a9afaa1ef96152f 100644
--- a/chrome/browser/resources/options/extension_list.js
+++ b/chrome/browser/resources/options/extension_list.js
@@ -222,6 +222,15 @@ cr.define('options', function() {
vbox.appendChild(link);
}
+ if (extension.allow_activity) {
+ var link = this.ownerDocument.createElement('a');
+ link.classList.add('extension-links-trailing');
+ link.textContent =
+ localStrings.getString('extensionSettingsActivity');
+ link.href = 'chrome://extension-activity?extensionId=' + extension.id;
+ vbox.appendChild(link);
+ }
+
// Then the optional Visit Website link.
if (extension.homepageUrl) {
var link = this.ownerDocument.createElement('a');

Powered by Google App Engine
This is Rietveld 408576698