Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Unified Diff: chrome/browser/ui/content_settings/content_setting_image_model.h

Issue 1955083003: [Material Design] Update Website Setting Icons in Omnibox on OSX (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1206fbadf5c598ae21cd9f90625de89f838ea01c..7daf444a9918160213a16175806118d14ff7b84d 100644
--- a/chrome/browser/ui/content_settings/content_setting_image_model.h
+++ b/chrome/browser/ui/content_settings/content_setting_image_model.h
@@ -53,8 +53,9 @@ class ContentSettingImageModel {
bool is_visible() const { return is_visible_; }
#if defined(OS_MACOSX)
- const gfx::Image& raster_icon() const { return raster_icon_; }
- int raster_icon_id() const { return raster_icon_id_; }
+ // Calls UpdateFromWebContents() and returns true if the icon has changed.
+ bool UpdateFromWebContentsAndCheckIfIconChanged(
+ content::WebContents* web_contents);
#endif
gfx::Image GetIcon(SkColor nearby_text_color) const;

Powered by Google App Engine
This is Rietveld 408576698