| 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 8d7ed521b60af556c9d5d4960f0c6c22e24269a4..2890c9c797f289c5fd7129b08184acfb1c0ce343 100644
|
| --- a/chrome/browser/profiles/profile_avatar_icon_util.h
|
| +++ b/chrome/browser/profiles/profile_avatar_icon_util.h
|
| @@ -37,12 +37,19 @@ extern const SkColor kAvatarBubbleAccountsBackgroundColor;
|
| extern const SkColor kAvatarBubbleGaiaBackgroundColor;
|
| extern const SkColor kUserManagerBackgroundColor;
|
|
|
| +// Avatar shape.
|
| +enum AvatarShape {
|
| + SHAPE_CIRCLE,
|
| + SHAPE_SQUARE,
|
| +};
|
| +
|
| // Returns a version of |image| of a specific size. Note that no checks are
|
| // done on the width/height so make sure they're reasonable values; in the
|
| // range of 16-256 is probably best.
|
| gfx::Image GetSizedAvatarIcon(const gfx::Image& image,
|
| bool is_rectangle,
|
| - int width, int height);
|
| + int width, int height,
|
| + AvatarShape shape=SHAPE_SQUARE);
|
|
|
| // Returns a version of |image| suitable for use in menus.
|
| gfx::Image GetAvatarIconForMenu(const gfx::Image& image,
|
|
|