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

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

Issue 10096012: [cros] Add Ctrl+Alt+E shortcut to Welcome/EULA screen that cancels update and starts with enrollment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 8 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) 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_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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 26 matching lines...) Expand all
37 ENTERPRISE_AUTO_MAGIC_ENROLLMENT_COMPLETED, 37 ENTERPRISE_AUTO_MAGIC_ENROLLMENT_COMPLETED,
38 EXIT_CODES_COUNT // not a real code, must be the last 38 EXIT_CODES_COUNT // not a real code, must be the last
39 }; 39 };
40 40
41 // Method called by a screen when user's done with it. 41 // Method called by a screen when user's done with it.
42 virtual void OnExit(ExitCodes exit_code) = 0; 42 virtual void OnExit(ExitCodes exit_code) = 0;
43 43
44 // Forces current screen showing. 44 // Forces current screen showing.
45 virtual void ShowCurrentScreen() = 0; 45 virtual void ShowCurrentScreen() = 0;
46 46
47 // Skip update, go straight to enrollment after EULA is accepted.
48 virtual void SkipUpdateEnrollAfterEula() = 0;
49
47 // Notify about new user names and password. It is used to autologin 50 // Notify about new user names and password. It is used to autologin
48 // just created user without asking the same info once again. 51 // just created user without asking the same info once again.
49 virtual void OnSetUserNamePassword(const std::string& username, 52 virtual void OnSetUserNamePassword(const std::string& username,
50 const std::string& password) = 0; 53 const std::string& password) = 0;
51 54
52 // Set/get usage statistics reporting checkbox status on EULA screen. 55 // Set/get usage statistics reporting checkbox status on EULA screen.
53 virtual void set_usage_statistics_reporting(bool val) = 0; 56 virtual void SetUsageStatisticsReporting(bool val) = 0;
54 virtual bool usage_statistics_reporting() const = 0; 57 virtual bool GetUsageStatisticsReporting() const = 0;
55 58
56 protected: 59 protected:
57 virtual ~ScreenObserver() {} 60 virtual ~ScreenObserver() {}
58 }; 61 };
59 62
60 } // namespace chromeos 63 } // namespace chromeos
61 64
62 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_ 65 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698