1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_
8 #include "ui/gfx/image/image.h"
12 extern const int kAvatarIconWidth
;
13 extern const int kAvatarIconHeight
;
15 // Returns a version of |image| suitable for use in menus.
16 gfx::Image
GetAvatarIconForMenu(const gfx::Image
& image
,
17 bool is_gaia_picture
);
19 // Returns a version of |image| suitable for use in WebUI.
20 gfx::Image
GetAvatarIconForWebUI(const gfx::Image
& image
,
21 bool is_gaia_picture
);
23 // Returns a version of |image| suitable for use in title bars. The returned
24 // image is scaled to fit |dst_width| and |dst_height|.
25 gfx::Image
GetAvatarIconForTitleBar(const gfx::Image
& image
,
32 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_