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

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

Issue 6269015: Add facility to fix about: and file: links from chrome:// pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git add Created 9 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/content_settings.js
diff --git a/chrome/browser/resources/options/content_settings.js b/chrome/browser/resources/options/content_settings.js
index baa55531fc6c3c60b9f1eeccc223e5affc3d16d3..556d6563d89579e0a5057edd80f538df8b73260e 100644
--- a/chrome/browser/resources/options/content_settings.js
+++ b/chrome/browser/resources/options/content_settings.js
@@ -50,10 +50,7 @@ cr.define('options', function() {
OptionsPage.showPageByName('cookiesView');
};
- $('plugins-tab').onclick = function(event) {
- chrome.send('openPluginsTab');
- return false;
- };
+ handleFileOrAboutLinkClicks($('plugins-tab'));
if (!templateData.enable_click_to_play)
$('click_to_play').style.display = 'none';

Powered by Google App Engine
This is Rietveld 408576698