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

Unified Diff: chrome/browser/ui/content_settings/content_setting_bubble_model.cc

Issue 2339783003: Make 'Load full site' a button instead of link. (Closed)
Patch Set: . Created 4 years, 3 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/content_settings/content_setting_bubble_model.cc
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
index c49bfb7270d2f1dc2f95919cd8064574a3492c06..12a519817a4df97a3930ac172c3162881f6eb396 100644
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
@@ -1215,6 +1215,7 @@ void ContentSettingSubresourceFilterBubbleModel::SetManageLink() {
// TODO(melandory): introduce the button instead of link.
set_manage_link(
l10n_util::GetStringUTF8(IDS_FILTERED_DECEPTIVE_CONTENT_PROMPT_RELOAD));
+ set_manage_link_as_button(true);
}
void ContentSettingSubresourceFilterBubbleModel::SetMessage() {
@@ -1405,8 +1406,8 @@ ContentSettingBubbleModel::MediaMenu::~MediaMenu() {}
ContentSettingBubbleModel::BubbleContent::BubbleContent()
: radio_group_enabled(false),
- custom_link_enabled(false) {
-}
+ custom_link_enabled(false),
+ manage_link_as_button(false) {}
ContentSettingBubbleModel::BubbleContent::~BubbleContent() {}

Powered by Google App Engine
This is Rietveld 408576698