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

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

Issue 2072833002: [Material][Mac] Replace the default favicon with a vector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 99c7e4061fbab013dfec1d0045310dae7fafc26b..275cb7732c26bcae30173779edb52a3ead215e2a 100644
--- a/chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.h
+++ b/chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_MAC_H_
#define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_MAC_H_
+#include "third_party/skia/include/core/SkColor.h"
+
@class NSImage;
namespace content {
@@ -15,8 +17,10 @@ namespace mac {
// Returns an autoreleased favicon for a given WebContents. If |contents|
// is NULL or there's no favicon for the NavigationEntry, this will return the
-// default image.
-NSImage* FaviconForWebContents(content::WebContents* contents);
+// default image. The color parameter is only used for the default vector image
+// in Material design.
+NSImage* FaviconForWebContents(content::WebContents* contents,
+ SkColor color = SK_ColorBLACK);
} // namespace mac
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698