Index: chrome/browser/resources/options2/content_settings.js |
diff --git a/chrome/browser/resources/options2/content_settings.js b/chrome/browser/resources/options2/content_settings.js |
index fd45acafb5f87034a75e14a9baa5e2c7bf9c24e5..204e8b4e0b857a056823068a7264ab4ce064e84b 100644 |
--- a/chrome/browser/resources/options2/content_settings.js |
+++ b/chrome/browser/resources/options2/content_settings.js |
@@ -80,6 +80,13 @@ cr.define('options', function() { |
if (!loadTimeData.getBoolean('enable_web_intents') && intentsSection) |
intentsSection.parentNode.removeChild(intentsSection); |
+ var webIntentsOptionsButton = $('manage-web-intents-defaults-button'); |
+ if (webIntentsOptionsButton) { |
+ webIntentsOptionsButton.onclick = function(event) { |
+ OptionsPage.navigateToPage('web-intents-defaults'); |
+ }; |
+ } |
+ |
$('content-settings-overlay-confirm').onclick = |
OptionsPage.closeOverlay.bind(OptionsPage); |