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

Side by Side Diff: chrome/browser/chromeos/profiles/avatar_menu_chromeos.cc

Issue 660813002: [Win] Add a fast profile switcher to the Windows taskbar item. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/jumplist_win.h » ('j') | chrome/browser/jumplist_win.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/profiles/avatar_menu.h"
6
7 #include <string>
8
9 #include "ash/frame/frame_util.h"
10 #include "chrome/browser/profiles/profile.h"
11 #include "ui/gfx/image/image.h"
12
13 // static
14 void AvatarMenu::GetImageForMenuButton(Profile* profile,
15 gfx::Image* image,
16 bool* is_rectangle) {
17 // ChromeOS avatar icon is circular.
18 *is_rectangle = false;
19 *image = ash::GetAvatarImageForContext(profile);
20 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/jumplist_win.h » ('j') | chrome/browser/jumplist_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698