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

Unified Diff: chrome/browser/resources/extensions/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 remaining 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/extensions/extension_list.js
diff --git a/chrome/browser/resources/extensions/extension_list.js b/chrome/browser/resources/extensions/extension_list.js
index 0da6cc021db2ed7a59ed9b5d99bced339a55ebf7..e8bb8c172599ea79e1c493ba94383692edd844f0 100644
--- a/chrome/browser/resources/extensions/extension_list.js
+++ b/chrome/browser/resources/extensions/extension_list.js
@@ -147,6 +147,13 @@ cr.define('options', function() {
e.preventDefault();
});
+ if (extension.allow_activity) {
+ var activity = node.querySelector('.activity-link');
+ activity.href = 'chrome://extension-activity?extensionId=' +
+ extension.id;
+ activity.hidden = false;
+ }
+
// The 'View in Web Store' checkbox.
if (extension.homepageUrl) {
var store = node.querySelector('.store-link');
« no previous file with comments | « chrome/browser/resources/extensions/extension_activity.js ('k') | chrome/browser/resources/extensions/extensions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698