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

Unified Diff: chrome/browser/chromeos/login/users/avatar/user_image_manager_test_util.h

Issue 2537713002: Add support for transparent/translucent pixels in the user image (Closed)
Patch Set: rebased Created 4 years 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/chromeos/login/users/avatar/user_image_manager_test_util.h
diff --git a/chrome/browser/chromeos/login/users/avatar/user_image_manager_test_util.h b/chrome/browser/chromeos/login/users/avatar/user_image_manager_test_util.h
index 70a83c4425acd4aa805b18518276502e3e0f4527..bfdabaac03dd7f4e960f7e32f7e2d14be256b58a 100644
--- a/chrome/browser/chromeos/login/users/avatar/user_image_manager_test_util.h
+++ b/chrome/browser/chromeos/login/users/avatar/user_image_manager_test_util.h
@@ -26,6 +26,8 @@ namespace test {
extern const char kUserAvatarImage1RelativePath[];
extern const char kUserAvatarImage2RelativePath[];
+// Points to a png file with transparent pixels.
+extern const char kUserAvatarImage3RelativePath[];
// Returns |true| if the two given images are pixel-for-pixel identical.
bool AreImagesEqual(const gfx::ImageSkia& first, const gfx::ImageSkia& second);

Powered by Google App Engine
This is Rietveld 408576698