Chromium Code Reviews| Index: chrome/browser/ui/content_settings/content_setting_image_model.cc |
| diff --git a/chrome/browser/ui/content_settings/content_setting_image_model.cc b/chrome/browser/ui/content_settings/content_setting_image_model.cc |
| index 764e1c91ee54caacb969d8722fec852a1f8bee24..67408b2848b1547973fc96f286dc57c9d3928355 100644 |
| --- a/chrome/browser/ui/content_settings/content_setting_image_model.cc |
| +++ b/chrome/browser/ui/content_settings/content_setting_image_model.cc |
| @@ -64,6 +64,7 @@ class ContentSettingSavePasswordImageModel : public ContentSettingImageModel { |
| ContentSettingSavePasswordImageModel(); |
| virtual void UpdateFromWebContents(WebContents* web_contents) OVERRIDE; |
| + virtual bool ShouldShowBubbleOnBlockage(); |
|
Peter Kasting
2013/09/04 20:59:11
OVERRIDE
npentrel
2013/09/04 21:50:18
Done.
|
| }; |
| namespace { |
| @@ -233,6 +234,10 @@ void ContentSettingSavePasswordImageModel::UpdateFromWebContents( |
| } |
| } |
| +bool ContentSettingSavePasswordImageModel::ShouldShowBubbleOnBlockage() { |
| + return true; |
| +} |
| + |
| ContentSettingMediaImageModel::ContentSettingMediaImageModel( |
| ContentSettingsType type) |
| : ContentSettingImageModel(type) { |
| @@ -377,6 +382,10 @@ ContentSettingImageModel::ContentSettingImageModel( |
| explanatory_string_id_(0) { |
| } |
| +bool ContentSettingImageModel::ShouldShowBubbleOnBlockage() { |
| + return false; |
| +} |
| + |
| // static |
| ContentSettingImageModel* |
| ContentSettingImageModel::CreateContentSettingImageModel( |