Index: chrome/browser/profiles/profile_avatar_icon_util.h |
diff --git a/chrome/browser/profiles/profile_avatar_icon_util.h b/chrome/browser/profiles/profile_avatar_icon_util.h |
index ecc3642692cd6dd8563f4fedab80607d5d024526..eba15180644ce18752535f0a0cd9b10e79584488 100644 |
--- a/chrome/browser/profiles/profile_avatar_icon_util.h |
+++ b/chrome/browser/profiles/profile_avatar_icon_util.h |
@@ -17,6 +17,8 @@ namespace gfx { |
class Image; |
} |
+class SkBitmap; |
+ |
namespace profiles { |
// Avatar access. |
@@ -84,6 +86,9 @@ gfx::Image GetAvatarIconForTitleBar(const gfx::Image& image, |
bool is_rectangle, |
int dst_width, |
int dst_height); |
+// Returns a bitmap with a couple of columns shaved off so it is more square, |
noms (inactive)
2014/05/06 15:32:31
nit: newline between functions.
|
+// so that when resized to a square aspect ratio it looks pretty. |
+SkBitmap GetAvatarIconAsSquare(const SkBitmap& bitmap, int scale_factor); |
} // namespace profiles |