Index: chrome/browser/extensions/bookmark_app_helper.h |
=================================================================== |
--- chrome/browser/extensions/bookmark_app_helper.h (revision 271412) |
+++ chrome/browser/extensions/bookmark_app_helper.h (working copy) |
@@ -51,6 +51,12 @@ |
const std::vector<SkBitmap>& bitmaps, |
const std::set<int>& sizes); |
+ // Gets the letter that will be painted on the generated icon. |
+ static char GetIconLetterForGeneratedIcon(const GURL& url); |
+ |
+ // Gets the color that will be used for the icon's background. |
+ static SkColor GetIconColorForGeneratedIcon(const SkBitmap& base_icon); |
+ |
// Adds a square container icon of |output_size| pixels to |bitmaps| by |
// drawing the given |letter| into a rounded background of |color|. |
// Does nothing if an icon of |output_size| already exists in |bitmaps|. |