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

Unified Diff: chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.h

Issue 2126043002: [Material][Mac] Fix Default Favicon's Color (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleaned up Created 4 years, 5 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/cocoa/tab_contents/favicon_util_mac.h
diff --git a/chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.h b/chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.h
index 275cb7732c26bcae30173779edb52a3ead215e2a..9b5e50aba556ac2614b49fd462495a3cc8146a69 100644
--- a/chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.h
+++ b/chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.h
@@ -22,6 +22,12 @@ namespace mac {
NSImage* FaviconForWebContents(content::WebContents* contents,
SkColor color = SK_ColorBLACK);
+// Returns true if there's no favicon from the given WebContents.
+bool ShouldUseDefaultFavicon(content::WebContents* contents);
+
+// Returns the NSImage containing the default favicon.
+NSImage* DefaultFavicon(SkColor color = SK_ColorBLACK);
+
} // namespace mac
#endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698