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

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

Issue 475193002: Add a single site view page to view and modify content settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 4 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/origin_resources_list.js
diff --git a/chrome/browser/resources/options/origin_resources_list.js b/chrome/browser/resources/options/origin_resources_list.js
index 81b6252478e21ff2b91b37bca4674c87aa3bfe21..bfb3643cf1979569cc80b61055a6448a769c0f8e 100644
--- a/chrome/browser/resources/options/origin_resources_list.js
+++ b/chrome/browser/resources/options/origin_resources_list.js
@@ -34,9 +34,14 @@ cr.define('options', function() {
var titleEl = this.ownerDocument.createElement('div');
titleEl.className = 'title favicon-cell weaktrl';
titleEl.textContent = this.origin_;
+ titleEl.originPattern = this.origin_;
titleEl.style.backgroundImage = getFaviconImageSet(this.origin_);
this.contentElement_.appendChild(titleEl);
+ this.contentElement_.onclick = function() {
+ chrome.send('maybeShowEditPage', [titleEl.originPattern]);
+ };
+
if (this.usageString_) {
var usageEl = this.ownerDocument.createElement('span');
usageEl.className = 'local-storage-usage';
« no previous file with comments | « chrome/browser/resources/options/options_bundle.js ('k') | chrome/browser/resources/options/website_settings.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698