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_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_SCREEN_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_SCREEN_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/chromeos/camera_presence_notifier.h" | 10 #include "chrome/browser/chromeos/camera_presence_notifier.h" |
11 #include "chrome/browser/chromeos/login/screens/user_image_screen_actor.h" | 11 #include "chrome/browser/chromeos/login/screens/user_image_screen_actor.h" |
12 #include "chrome/browser/chromeos/login/screens/wizard_screen.h" | 12 #include "chrome/browser/chromeos/login/screens/wizard_screen.h" |
13 #include "chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.h" | 13 #include "chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.h" |
14 #include "chrome/browser/image_decoder.h" | 14 #include "chrome/browser/image_decoder.h" |
15 #include "components/user_manager/user.h" | 15 #include "components/user_manager/user.h" |
16 #include "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/notification_registrar.h" | 17 #include "content/public/browser/notification_registrar.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class Timer; | 20 class Timer; |
21 class Value; | 21 class Value; |
22 }; | 22 }; |
23 | 23 |
24 namespace policy { | 24 namespace policy { |
25 class PolicyChangeRegistrar; | 25 class PolicyChangeRegistrar; |
26 } | 26 } |
27 | 27 |
28 namespace chromeos { | 28 namespace chromeos { |
29 | 29 |
| 30 class UserImageManager; |
| 31 |
30 class UserImageScreen: public WizardScreen, | 32 class UserImageScreen: public WizardScreen, |
31 public UserImageScreenActor::Delegate, | 33 public UserImageScreenActor::Delegate, |
32 public ImageDecoder::Delegate, | 34 public ImageDecoder::Delegate, |
33 public content::NotificationObserver, | 35 public content::NotificationObserver, |
34 public UserImageSyncObserver::Observer, | 36 public UserImageSyncObserver::Observer, |
35 public CameraPresenceNotifier::Observer { | 37 public CameraPresenceNotifier::Observer { |
36 public: | 38 public: |
37 UserImageScreen(ScreenObserver* screen_observer, | 39 UserImageScreen(ScreenObserver* screen_observer, |
38 UserImageScreenActor* actor); | 40 UserImageScreenActor* actor); |
39 virtual ~UserImageScreen(); | 41 virtual ~UserImageScreen(); |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 139 |
138 // True if user has explicitly selected some image. | 140 // True if user has explicitly selected some image. |
139 bool user_has_selected_image_; | 141 bool user_has_selected_image_; |
140 | 142 |
141 DISALLOW_COPY_AND_ASSIGN(UserImageScreen); | 143 DISALLOW_COPY_AND_ASSIGN(UserImageScreen); |
142 }; | 144 }; |
143 | 145 |
144 } // namespace chromeos | 146 } // namespace chromeos |
145 | 147 |
146 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_SCREEN_H_ | 148 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_SCREEN_H_ |
OLD | NEW |