Index: chrome/browser/resources/options/options.js |
diff --git a/chrome/browser/resources/options/options.js b/chrome/browser/resources/options/options.js |
index 1ea9559dbb30b90965647cc922009cc826e206f0..68c3b9549d4b5fb887680c31d281be7390946f29 100644 |
--- a/chrome/browser/resources/options/options.js |
+++ b/chrome/browser/resources/options/options.js |
@@ -17,6 +17,7 @@ var CookiesView = options.CookiesView; |
var FontSettings = options.FontSettings; |
var HandlerOptions = options.HandlerOptions; |
var ImportDataOverlay = options.ImportDataOverlay; |
+var IntentsView = options.IntentsView; |
var InstantConfirmOverlay = options.InstantConfirmOverlay; |
var LanguageOptions = options.LanguageOptions; |
var OptionsPage = options.OptionsPage; |
@@ -115,6 +116,11 @@ function load() { |
ContentSettings.getInstance(), |
[$('manage-handlers-button')]); |
} |
+ if (IntentsView && $('manage-intents-button')) { |
+ OptionsPage.registerSubPage(IntentsView.getInstance(), |
+ ContentSettings.getInstance(), |
+ [$('manage-intents-button')]); |
+ } |
OptionsPage.registerSubPage(FontSettings.getInstance(), |
AdvancedOptions.getInstance(), |
[$('fontSettingsCustomizeFontsButton')]); |