Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: chrome/browser/profiles/profile_avatar_icon_util.h

Issue 654123004: Revert of Sets the default background color of inline signin and user manager to grey (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_AVATAR_ICON_UTIL_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "third_party/skia/include/core/SkColor.h" 10 #include "third_party/skia/include/core/SkColor.h"
(...skipping 13 matching lines...) Expand all
24 // Avatar access. 24 // Avatar access.
25 extern const char kGAIAPictureFileName[]; 25 extern const char kGAIAPictureFileName[];
26 extern const char kHighResAvatarFolderName[]; 26 extern const char kHighResAvatarFolderName[];
27 27
28 // Avatar formatting. 28 // Avatar formatting.
29 extern const int kAvatarIconWidth; 29 extern const int kAvatarIconWidth;
30 extern const int kAvatarIconHeight; 30 extern const int kAvatarIconHeight;
31 extern const SkColor kAvatarTutorialBackgroundColor; 31 extern const SkColor kAvatarTutorialBackgroundColor;
32 extern const SkColor kAvatarTutorialContentTextColor; 32 extern const SkColor kAvatarTutorialContentTextColor;
33 extern const SkColor kAvatarBubbleAccountsBackgroundColor; 33 extern const SkColor kAvatarBubbleAccountsBackgroundColor;
34 extern const SkColor kAvatarBubbleGaiaBackgroundColor;
35 extern const SkColor kUserManagerBackgroundColor;
36 34
37 // Gets the number of default avatar icons that exist. 35 // Gets the number of default avatar icons that exist.
38 size_t GetDefaultAvatarIconCount(); 36 size_t GetDefaultAvatarIconCount();
39 37
40 // Gets the index for the (grey silhouette) avatar used as a placeholder. 38 // Gets the index for the (grey silhouette) avatar used as a placeholder.
41 int GetPlaceholderAvatarIndex(); 39 int GetPlaceholderAvatarIndex();
42 40
43 // Gets the resource ID of the placeholder avatar icon. 41 // Gets the resource ID of the placeholder avatar icon.
44 int GetPlaceholderAvatarIconResourceID(); 42 int GetPlaceholderAvatarIconResourceID();
45 43
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 int dst_width, 88 int dst_width,
91 int dst_height); 89 int dst_height);
92 90
93 // Returns a bitmap with a couple of columns shaved off so it is more square, 91 // Returns a bitmap with a couple of columns shaved off so it is more square,
94 // so that when resized to a square aspect ratio it looks pretty. 92 // so that when resized to a square aspect ratio it looks pretty.
95 SkBitmap GetAvatarIconAsSquare(const SkBitmap& source_bitmap, int scale_factor); 93 SkBitmap GetAvatarIconAsSquare(const SkBitmap& source_bitmap, int scale_factor);
96 94
97 } // namespace profiles 95 } // namespace profiles
98 96
99 #endif // CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_ 97 #endif // CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/webui_login_view.cc ('k') | chrome/browser/profiles/profile_avatar_icon_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698