blob: 52819cefe7aad76443b9b0981e303a4ac354a666 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_
#define CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_
#pragma once
#include "ui/gfx/image/image.h"
namespace profiles {
extern const int kAvatarIconWidth;
extern const int kAvatarIconHeight;
// Returns a version of |image| suitable for use in menus.
gfx::Image GetAvatarIconForMenu(const gfx::Image& image,
bool is_gaia_picture);
// Returns a version of |image| suitable for use in title bars. The returned
// image is scaled to fit |dst_width| and |dst_height|.
gfx::Image GetAvatarIconForTitleBar(const gfx::Image& image,
bool is_gaia_picture,
int dst_width,
int dst_height);
}
#endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_
|