Chromium Code Reviews| 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 2ce12166404868e231e642592c2a46272aebb01b..a03e4ab895d2604ff86197fb505bd9c7a7e736d5 100644 |
| --- a/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| +++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| @@ -87,6 +87,7 @@ class ContentSettingBubbleModel : public content::NotificationObserver { |
| bool custom_link_enabled; |
| std::string manage_link; |
| MediaMenuMap media_menus; |
| + std::string learn_more_link; |
| private: |
| DISALLOW_COPY_AND_ASSIGN(BubbleContent); |
| @@ -113,6 +114,7 @@ class ContentSettingBubbleModel : public content::NotificationObserver { |
| virtual void OnPopupClicked(int index) {} |
| virtual void OnCustomLinkClicked() {} |
| virtual void OnManageLinkClicked() {} |
| + virtual void OnLearnMoreLinkClicked() {} |
| virtual void OnMediaMenuClicked(content::MediaStreamType type, |
| const std::string& selected_device_id) {} |
| @@ -151,6 +153,9 @@ class ContentSettingBubbleModel : public content::NotificationObserver { |
| void set_manage_link(const std::string& link) { |
| bubble_content_.manage_link = link; |
| } |
| + void set_learn_more_link(const std::string& link) { |
| + bubble_content_.learn_more_link = link; |
| + } |
| void add_media_menu(content::MediaStreamType type, const MediaMenu& menu) { |
| bubble_content_.media_menus[type] = menu; |
| } |
| @@ -190,7 +195,9 @@ class ContentSettingTitleAndLinkModel : public ContentSettingBubbleModel { |
| private: |
| void SetTitle(); |
| void SetManageLink(); |
| + void SetLearnMoreLink(); |
| virtual void OnManageLinkClicked() OVERRIDE; |
|
sky
2014/06/12 20:00:33
nit: newline between 198 and 199 and prefix sectio
radhikabhar
2014/06/12 20:37:19
Done.
|
| + virtual void OnLearnMoreLinkClicked() OVERRIDE; |
| Delegate* delegate_; |
| }; |