| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_ |
| 6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ui/gfx/image/image.h" | 9 #include "ui/gfx/image/image.h" |
| 10 | 10 |
| 11 namespace profiles { | 11 namespace profiles { |
| 12 | 12 |
| 13 extern const int kAvatarIconWidth; | 13 extern const int kAvatarIconWidth; |
| 14 extern const int kAvatarIconHeight; | 14 extern const int kAvatarIconHeight; |
| 15 | 15 |
| 16 gfx::Image GetAvatarIconForMenu(const gfx::Image& image, | 16 gfx::Image GetAvatarIconForMenu(const gfx::Image& image, |
| 17 bool is_gaia_picture); | 17 bool is_gaia_picture); |
| 18 | 18 |
| 19 gfx::Image GetAvatarIconForWebUI(const gfx::Image& image, |
| 20 bool is_gaia_picture); |
| 21 |
| 19 gfx::Image GetAvatarIconForTitleBar(const gfx::Image& image, | 22 gfx::Image GetAvatarIconForTitleBar(const gfx::Image& image, |
| 20 bool is_gaia_picture, | 23 bool is_gaia_picture, |
| 21 int dst_width, | 24 int dst_width, |
| 22 int dst_height); | 25 int dst_height); |
| 23 | 26 |
| 24 } | 27 } |
| 25 | 28 |
| 26 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_ | 29 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_ |
| OLD | NEW |