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

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

Issue 686353002: Fix transparent avatar icons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix linux compile 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_shortcut_manager_win.h
diff --git a/chrome/browser/profiles/profile_shortcut_manager_win.h b/chrome/browser/profiles/profile_shortcut_manager_win.h
index 30e53494226761c8e8a6feff77d6072b385c5e7b..9cd277534fe2968a7a83ae8deb058f655fa718ee 100644
--- a/chrome/browser/profiles/profile_shortcut_manager_win.h
+++ b/chrome/browser/profiles/profile_shortcut_manager_win.h
@@ -83,7 +83,14 @@ class ProfileShortcutManagerWin : public ProfileShortcutManager,
const content::NotificationSource& source,
const content::NotificationDetails& details) override;
- private:
+ // Returns the avatar icons for the given profile that should be used for
+ // badging. These icons will have correct transparency.
noms (inactive) 2014/10/30 17:39:08 I would maybe change the "correct transparency" bi
Roger Tawa OOO till Jul 10th 2014/10/31 19:44:39 Removed this code from CL.
+ static void GetBadgingAvatarImages(ProfileManager* profile_manager,
+ const base::FilePath& profile_path,
+ gfx::Image* image_1x,
+ gfx::Image* image_2x);
+
+private:
// Gives the profile path of an alternate profile than |profile_path|.
// Must only be called when the number profiles is 2.
base::FilePath GetOtherProfilePath(const base::FilePath& profile_path);

Powered by Google App Engine
This is Rietveld 408576698