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

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

Issue 2920001: EULA screen implemented.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_SCREEN_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 15 matching lines...) Expand all
26 NETWORK_OFFLINE, 26 NETWORK_OFFLINE,
27 ACCOUNT_CREATE_BACK, 27 ACCOUNT_CREATE_BACK,
28 ACCOUNT_CREATED, 28 ACCOUNT_CREATED,
29 CONNECTION_FAILED, 29 CONNECTION_FAILED,
30 UPDATE_INSTALLED, 30 UPDATE_INSTALLED,
31 UPDATE_NOUPDATE, 31 UPDATE_NOUPDATE,
32 UPDATE_ERROR_CHECKING_FOR_UPDATE, 32 UPDATE_ERROR_CHECKING_FOR_UPDATE,
33 UPDATE_ERROR_UPDATING, 33 UPDATE_ERROR_UPDATING,
34 USER_IMAGE_SELECTED, 34 USER_IMAGE_SELECTED,
35 USER_IMAGE_SKIPPED, 35 USER_IMAGE_SKIPPED,
36 EULA_ACCEPTED,
36 EXIT_CODES_COUNT // not a real code, must be the last 37 EXIT_CODES_COUNT // not a real code, must be the last
37 }; 38 };
38 39
39 // Method called by a screen when user's done with it. 40 // Method called by a screen when user's done with it.
40 virtual void OnExit(ExitCodes exit_code) = 0; 41 virtual void OnExit(ExitCodes exit_code) = 0;
41 42
42 // Notify about new user names and password. It is used to autologin 43 // Notify about new user names and password. It is used to autologin
43 // just created user without asking the same info once again. 44 // just created user without asking the same info once again.
44 virtual void OnSetUserNamePassword(const std::string& username, 45 virtual void OnSetUserNamePassword(const std::string& username,
45 const std::string& password) = 0; 46 const std::string& password) = 0;
46 47
47 protected: 48 protected:
48 virtual ~ScreenObserver() {} 49 virtual ~ScreenObserver() {}
49 }; 50 };
50 51
51 } // namespace chromeos 52 } // namespace chromeos
52 53
53 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_ 54 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/eula_view.cc ('k') | chrome/browser/chromeos/login/wizard_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698