OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_ACTOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_SCREEN_ACTOR_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_SCREEN_ACTOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_SCREEN_ACTOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 class SkBitmap; | 10 class SkBitmap; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 // Selects image with the index specified. | 62 // Selects image with the index specified. |
63 virtual void SelectImage(int index) = 0; | 63 virtual void SelectImage(int index) = 0; |
64 | 64 |
65 // Sends profile image as a data URL to the page. | 65 // Sends profile image as a data URL to the page. |
66 virtual void SendProfileImage(const std::string& data_url) = 0; | 66 virtual void SendProfileImage(const std::string& data_url) = 0; |
67 | 67 |
68 // Indicates that there is no custom profile image for the user. | 68 // Indicates that there is no custom profile image for the user. |
69 virtual void OnProfileImageAbsent() = 0; | 69 virtual void OnProfileImageAbsent() = 0; |
70 | 70 |
71 // Enables or disables profile picture. | |
72 virtual void SetProfilePictureEnabled(bool enabled) = 0; | |
73 | |
74 // Sends result of camera check | 71 // Sends result of camera check |
75 virtual void SetCameraPresent(bool enabled) = 0; | 72 virtual void SetCameraPresent(bool enabled) = 0; |
76 | 73 |
77 // Hides curtain with spinner. | 74 // Hides curtain with spinner. |
78 virtual void HideCurtain() = 0; | 75 virtual void HideCurtain() = 0; |
79 }; | 76 }; |
80 | 77 |
81 } // namespace chromeos | 78 } // namespace chromeos |
82 | 79 |
83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_SCREEN_ACTOR_H_ | 80 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_SCREEN_ACTOR_H_ |
OLD | NEW |