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

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

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.h
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.h b/chrome/browser/ui/content_settings/content_setting_bubble_model.h
index 315de036d637d90ca00b450ace756c863894d29c..3fd8abc29dc2487fe5b165c50568cbbe9bb8f790 100644
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.h
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.h
@@ -121,6 +121,7 @@ class ContentSettingBubbleModel : public content::NotificationObserver {
std::string custom_link;
bool custom_link_enabled;
std::string manage_link;
+ bool manage_link_as_button;
MediaMenuMap media_menus;
std::string learn_more_link;
@@ -214,6 +215,9 @@ class ContentSettingBubbleModel : public content::NotificationObserver {
void set_manage_link(const std::string& link) {
bubble_content_.manage_link = link;
}
+ void set_manage_link_as_button(bool manage_link_as_button) {
+ bubble_content_.manage_link_as_button = manage_link_as_button;
+ }
void set_learn_more_link(const std::string& link) {
bubble_content_.learn_more_link = link;
}

Powered by Google App Engine
This is Rietveld 408576698