| Index: chrome/browser/ui/content_settings/content_setting_image_model.h
|
| diff --git a/chrome/browser/ui/content_settings/content_setting_image_model.h b/chrome/browser/ui/content_settings/content_setting_image_model.h
|
| index 7daf444a9918160213a16175806118d14ff7b84d..d6601e63a6f204673a3e8594521a1629a089a026 100644
|
| --- a/chrome/browser/ui/content_settings/content_setting_image_model.h
|
| +++ b/chrome/browser/ui/content_settings/content_setting_image_model.h
|
| @@ -122,4 +122,24 @@ class ContentSettingSimpleImageModel : public ContentSettingImageModel {
|
| DISALLOW_COPY_AND_ASSIGN(ContentSettingSimpleImageModel);
|
| };
|
|
|
| +// Image model for subresource filter icons in the location bar.
|
| +class ContentSettingSubresourceFilterImageModel
|
| + : public ContentSettingImageModel {
|
| + public:
|
| + ContentSettingSubresourceFilterImageModel();
|
| +
|
| + void UpdateFromWebContents(content::WebContents* web_contents) override;
|
| +
|
| + ContentSettingBubbleModel* CreateBubbleModel(
|
| + ContentSettingBubbleModel::Delegate* delegate,
|
| + content::WebContents* web_contents,
|
| + Profile* profile) override;
|
| +
|
| + bool ShouldRunAnimation(content::WebContents* web_contents) override;
|
| + void SetAnimationHasRun(content::WebContents* web_contents) override;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(ContentSettingSubresourceFilterImageModel);
|
| +};
|
| +
|
| #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_IMAGE_MODEL_H_
|
|
|