OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/chromeos/profiles/avatar_menu_actions_chromeos.h" | 5 #include "chrome/browser/chromeos/profiles/avatar_menu_actions_chromeos.h" |
6 | 6 |
7 #include "ash/common/multi_profile_uma.h" | 7 #include "ash/common/multi_profile_uma.h" |
8 #include "ash/common/system/tray/system_tray_delegate.h" | |
9 #include "ash/common/wm_shell.h" | 8 #include "ash/common/wm_shell.h" |
| 9 #include "ash/system/tray/system_tray_delegate.h" |
10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
11 #include "chrome/browser/profiles/profile_avatar_icon_util.h" | 11 #include "chrome/browser/profiles/profile_avatar_icon_util.h" |
12 #include "chrome/browser/ui/browser.h" | 12 #include "chrome/browser/ui/browser.h" |
13 #include "components/user_manager/user_manager.h" | 13 #include "components/user_manager/user_manager.h" |
14 | 14 |
15 // static | 15 // static |
16 AvatarMenuActions* AvatarMenuActions::Create() { | 16 AvatarMenuActions* AvatarMenuActions::Create() { |
17 return new chromeos::AvatarMenuActionsChromeOS(); | 17 return new chromeos::AvatarMenuActionsChromeOS(); |
18 } | 18 } |
19 | 19 |
(...skipping 26 matching lines...) Expand all Loading... |
46 | 46 |
47 bool AvatarMenuActionsChromeOS::ShouldShowEditProfileLink() const { | 47 bool AvatarMenuActionsChromeOS::ShouldShowEditProfileLink() const { |
48 return false; | 48 return false; |
49 } | 49 } |
50 | 50 |
51 void AvatarMenuActionsChromeOS::ActiveBrowserChanged(Browser* browser) { | 51 void AvatarMenuActionsChromeOS::ActiveBrowserChanged(Browser* browser) { |
52 browser_ = browser; | 52 browser_ = browser; |
53 } | 53 } |
54 | 54 |
55 } // namespace chromeos | 55 } // namespace chromeos |
OLD | NEW |