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

Unified Diff: chrome/browser/content_setting_bubble_model.h

Issue 5564007: Update Content Settings Bubbles (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 10 years 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/content_setting_bubble_model.h
diff --git a/chrome/browser/content_setting_bubble_model.h b/chrome/browser/content_setting_bubble_model.h
index 49af1b29bad1b2e13d5d081bf10b1439b074a063..d3f93ecf181b79073937ac06d2b579f07bceecf9 100644
--- a/chrome/browser/content_setting_bubble_model.h
+++ b/chrome/browser/content_setting_bubble_model.h
@@ -69,10 +69,8 @@ class ContentSettingBubbleModel : public NotificationObserver {
std::vector<DomainList> domain_lists;
std::set<std::string> resource_identifiers;
std::string manage_link;
- std::string clear_link;
std::string info_link;
- std::string load_plugins_link_title;
- bool load_plugins_link_enabled;
+ bool info_link_enabled;
Peter Kasting 2010/12/07 17:53:00 Nit: I think "info_link" is too specific of a name
private:
DISALLOW_COPY_AND_ASSIGN(BubbleContent);
@@ -88,9 +86,7 @@ class ContentSettingBubbleModel : public NotificationObserver {
virtual void OnRadioClicked(int radio_index) {}
virtual void OnPopupClicked(int index) {}
virtual void OnManageLinkClicked() {}
- virtual void OnClearLinkClicked() {}
virtual void OnInfoLinkClicked() {}
- virtual void OnLoadPluginsLinkClicked() {}
protected:
ContentSettingBubbleModel(TabContents* tab_contents, Profile* profile,
@@ -112,17 +108,11 @@ class ContentSettingBubbleModel : public NotificationObserver {
void set_manage_link(const std::string& link) {
bubble_content_.manage_link = link;
}
- void set_clear_link(const std::string& link) {
- bubble_content_.clear_link = link;
- }
void set_info_link(const std::string& link) {
bubble_content_.info_link = link;
}
- void set_load_plugins_link_title(const std::string& title) {
- bubble_content_.load_plugins_link_title = title;
- }
- void set_load_plugins_link_enabled(bool enabled) {
- bubble_content_.load_plugins_link_enabled = enabled;
+ void set_info_link_enabled(bool enabled) {
+ bubble_content_.info_link_enabled = enabled;
}
void AddBlockedResource(const std::string& resource_identifier);
« no previous file with comments | « no previous file | chrome/browser/content_setting_bubble_model.cc » ('j') | chrome/browser/content_setting_bubble_model.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698