Chromium Code Reviews| 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_USER_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 97 | 97 |
| 98 // Indicates that user just logged on as the demo user. | 98 // Indicates that user just logged on as the demo user. |
| 99 virtual void DemoUserLoggedIn() = 0; | 99 virtual void DemoUserLoggedIn() = 0; |
| 100 | 100 |
| 101 // Indicates that user just started incognito session. | 101 // Indicates that user just started incognito session. |
| 102 virtual void GuestUserLoggedIn() = 0; | 102 virtual void GuestUserLoggedIn() = 0; |
| 103 | 103 |
| 104 // Indicates that a user just logged in as ephemeral. | 104 // Indicates that a user just logged in as ephemeral. |
| 105 virtual void EphemeralUserLoggedIn(const std::string& email) = 0; | 105 virtual void EphemeralUserLoggedIn(const std::string& email) = 0; |
| 106 | 106 |
| 107 // Loads logged in user wallpaper asynchronously and sets to current wallpaper | 107 // Initalize wallpaper. If logged in, load user's wallpaper. If not logged in, |
| 108 // after loaded. If not logged in or logged in as stub user, uses an empty | 108 // use a solid color(#fefefe) wallpaper. If logged in as a stub user, uses an |
|
Daniel Erat
2012/06/11 16:06:06
nit: don't mention the specific color here; this c
bshe
2012/06/11 17:04:15
Done.
| |
| 109 // wallpaper. | 109 // empty wallpaper. |
| 110 virtual void SetLoggedInUserWallpaper() = 0; | 110 virtual void InitializeWallpaper() = 0; |
| 111 | 111 |
| 112 // Called when user pod with |email| is selected. | 112 // Called when user pod with |email| is selected. |
| 113 virtual void UserSelected(const std::string& email) = 0; | 113 virtual void UserSelected(const std::string& email) = 0; |
| 114 | 114 |
| 115 // Called when browser session is started i.e. after | 115 // Called when browser session is started i.e. after |
| 116 // browser_creator.LaunchBrowser(...) was called after user sign in. | 116 // browser_creator.LaunchBrowser(...) was called after user sign in. |
| 117 // When user is at the image screen IsUserLoggedIn() will return true | 117 // When user is at the image screen IsUserLoggedIn() will return true |
| 118 // but SessionStarted() will return false. | 118 // but SessionStarted() will return false. |
| 119 // Fires NOTIFICATION_SESSION_STARTED. | 119 // Fires NOTIFICATION_SESSION_STARTED. |
| 120 virtual void SessionStarted() = 0; | 120 virtual void SessionStarted() = 0; |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 250 virtual void NotifyLocalStateChanged() = 0; | 250 virtual void NotifyLocalStateChanged() = 0; |
| 251 | 251 |
| 252 // Returns the result of the last successful profile image download, if any. | 252 // Returns the result of the last successful profile image download, if any. |
| 253 // Otherwise, returns an empty bitmap. | 253 // Otherwise, returns an empty bitmap. |
| 254 virtual const SkBitmap& DownloadedProfileImage() const = 0; | 254 virtual const SkBitmap& DownloadedProfileImage() const = 0; |
| 255 }; | 255 }; |
| 256 | 256 |
| 257 } // namespace chromeos | 257 } // namespace chromeos |
| 258 | 258 |
| 259 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ | 259 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ |
| OLD | NEW |