| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ |
| 6 #define CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ | 6 #define CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/scoped_observer.h" | 13 #include "base/scoped_observer.h" |
| 14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
| 15 #include "chrome/browser/profiles/profile_info_cache_observer.h" | 15 #include "chrome/browser/profiles/profile_info_cache_observer.h" |
| 16 #include "chrome/browser/profiles/profile_metrics.h" | 16 #include "chrome/browser/profiles/profile_metrics.h" |
| 17 #include "chrome/browser/ui/host_desktop.h" | |
| 18 #include "content/public/browser/web_contents.h" | 17 #include "content/public/browser/web_contents.h" |
| 19 #include "content/public/browser/web_contents_observer.h" | 18 #include "content/public/browser/web_contents_observer.h" |
| 19 #include "ui/gfx/host_desktop_type.h" |
| 20 #include "ui/gfx/image/image.h" | 20 #include "ui/gfx/image/image.h" |
| 21 | 21 |
| 22 #if defined(ENABLE_SUPERVISED_USERS) | 22 #if defined(ENABLE_SUPERVISED_USERS) |
| 23 #include "chrome/browser/supervised_user/supervised_user_service_observer.h" | 23 #include "chrome/browser/supervised_user/supervised_user_service_observer.h" |
| 24 #endif | 24 #endif |
| 25 | 25 |
| 26 class AvatarMenuActions; | 26 class AvatarMenuActions; |
| 27 class AvatarMenuObserver; | 27 class AvatarMenuObserver; |
| 28 class Browser; | 28 class Browser; |
| 29 class Profile; | 29 class Profile; |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 // The observer of this model, which is notified of changes. Weak. | 188 // The observer of this model, which is notified of changes. Weak. |
| 189 AvatarMenuObserver* observer_; | 189 AvatarMenuObserver* observer_; |
| 190 | 190 |
| 191 // Browser in which this avatar menu resides. Weak. | 191 // Browser in which this avatar menu resides. Weak. |
| 192 Browser* browser_; | 192 Browser* browser_; |
| 193 | 193 |
| 194 DISALLOW_COPY_AND_ASSIGN(AvatarMenu); | 194 DISALLOW_COPY_AND_ASSIGN(AvatarMenu); |
| 195 }; | 195 }; |
| 196 | 196 |
| 197 #endif // CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ | 197 #endif // CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ |
| OLD | NEW |