| 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..3b4ecb8034f1a827b8ef6ba3ba8d8a65da73fd74 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() OVERRIDE;
|
| };
|
|
|
| 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(
|
|
|