Support editable text fields in ChromeVox Next.
[chromium-blink-merge.git] / chrome / browser / chromeos / profiles / avatar_menu_chromeos.cc
blob7b1ff3096bbe6ae517134e4f2c66aad51eaf1c62
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.
5 #include "chrome/browser/profiles/avatar_menu.h"
7 #include <string>
9 #include "ash/frame/frame_util.h"
10 #include "chrome/browser/profiles/profile.h"
11 #include "ui/gfx/image/image.h"
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);