Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: chrome/browser/chromeos/login/user_manager.h

Issue 10492003: Use a #fefefe solid color wallpaper background before user login for GAIA login flow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 // Initializes wallpaper. If logged in, loads user's wallpaper. If not logged
108 // after loaded. If not logged in or logged in as stub user, uses an empty 108 // in, uses a solid color wallpaper. If logged in as a stub user, uses an
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/mock_user_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698