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

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: add test 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Notify about new user names and password. It is used to autologin 47 // Notify about new user names and password. It is used to autologin
48 // just created user without asking the same info once again. 48 // just created user without asking the same info once again.
49 virtual void OnSetUserNamePassword(const std::string& username, 49 virtual void OnSetUserNamePassword(const std::string& username,
50 const std::string& password) = 0; 50 const std::string& password) = 0;
51 51
52 // Set/get usage statistics reporting checkbox status on EULA screen. 52 // Set/get usage statistics reporting checkbox status on EULA screen.
53 virtual void set_usage_statistics_reporting(bool val) = 0; 53 virtual void SetUsageStatisticsReporting(bool val) = 0;
54 virtual bool usage_statistics_reporting() const = 0; 54 virtual bool GetUsageStatisticsReporting() const = 0;
55 55
56 protected: 56 protected:
57 virtual ~ScreenObserver() {} 57 virtual ~ScreenObserver() {}
58 }; 58 };
59 59
60 } // namespace chromeos 60 } // namespace chromeos
61 61
62 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_ 62 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/mock_screen_observer.h ('k') | chrome/browser/chromeos/login/wizard_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698