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 9e4377b0cf8d289978940554e89cae1bbcaf1aae..e661cdfa366d0347f2a0e9ce038ddeb3eb008871 100644 |
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
@@ -94,6 +94,10 @@ class ContentSettingBubbleModel : public content::NotificationObserver { |
virtual void OnCustomLinkClicked() {} |
virtual void OnManageLinkClicked() {} |
+ // Called by the view code when the bubble is closed by the user using the |
+ // Done button. |
+ virtual void OnDoneClicked() {} |
+ |
protected: |
ContentSettingBubbleModel(TabContents* tab_contents, Profile* profile, |
ContentSettingsType content_type); |
@@ -163,6 +167,7 @@ class ContentSettingRPHBubbleModel : public ContentSettingTitleAndLinkModel { |
ContentSettingsType content_type); |
virtual void OnRadioClicked(int radio_index) OVERRIDE; |
+ virtual void OnDoneClicked() OVERRIDE; |
private: |
// These states must match the order of appearance of the radio buttons |