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

Unified Diff: chrome/browser/profiles/profile_info_util.h

Issue 8700014: Utility to draw GAIA pictures (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_info_util.h
diff --git a/chrome/browser/profiles/profile_info_util.h b/chrome/browser/profiles/profile_info_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..a4f85b75ac59fcbab19c5352b7a615662ffc8863
--- /dev/null
+++ b/chrome/browser/profiles/profile_info_util.h
@@ -0,0 +1,26 @@
+// 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;
+
+gfx::Image GetAvatarIconForMenu(const gfx::Image& image,
Robert Sesek 2011/11/28 15:30:15 These both should have comments.
sail 2011/11/28 15:39:39 Done.
+ bool is_gaia_picture);
+
+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_

Powered by Google App Engine
This is Rietveld 408576698