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

Unified Diff: chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc

Issue 319553008: Updated Plugin bubble model to add "learn more" link and to appear with a sliding yellow thing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated so that the yellow thing occurs only when the content setting is set to allow Created 6 years, 6 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/ui/browser_content_setting_bubble_model_delegate.cc
diff --git a/chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc b/chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc
index 604acc201f24b991de9f161d3d7b6a08af2ab2b2..19bbf2ebb87fc7674f155daa7096611f62f93f10 100644
--- a/chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc
+++ b/chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc
@@ -47,3 +47,12 @@ void BrowserContentSettingBubbleModelDelegate::ShowContentSettingsPage(
return;
}
}
+
+void BrowserContentSettingBubbleModelDelegate::ShowLearnMorePage(
+ ContentSettingsType type) {
+ if (type != CONTENT_SETTINGS_TYPE_PLUGINS)
+ return;
+ chrome::AddSelectedTabWithURL(browser_,
+ GURL(chrome::kBlockedPluginLearnMoreURL),
+ content::PAGE_TRANSITION_LINK);
+}

Powered by Google App Engine
This is Rietveld 408576698