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

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

Issue 673813003: SetHostConfiguration() and ConfigureHost() are moved from ScreenObserver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 6 years, 1 month 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
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_SCREENS_SCREEN_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_OBSERVER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 DEVICE_NOT_DISABLED = 23, 52 DEVICE_NOT_DISABLED = 23,
53 EXIT_CODES_COUNT // not a real code, must be the last 53 EXIT_CODES_COUNT // not a real code, must be the last
54 }; 54 };
55 55
56 // Method called by a screen when user's done with it. 56 // Method called by a screen when user's done with it.
57 virtual void OnExit(ExitCodes exit_code) = 0; 57 virtual void OnExit(ExitCodes exit_code) = 0;
58 58
59 // Forces current screen showing. 59 // Forces current screen showing.
60 virtual void ShowCurrentScreen() = 0; 60 virtual void ShowCurrentScreen() = 0;
61 61
62 // Set remora configuration from shark.
63 virtual void SetHostConfiguration() = 0;
64 virtual void ConfigureHost(bool accepted_eula,
65 const std::string& lang,
66 const std::string& timezone,
67 bool send_reports,
68 const std::string& keyboard_layout) = 0;
69
70 virtual ErrorScreen* GetErrorScreen() = 0; 62 virtual ErrorScreen* GetErrorScreen() = 0;
71 virtual void ShowErrorScreen() = 0; 63 virtual void ShowErrorScreen() = 0;
72 virtual void HideErrorScreen(BaseScreen* parent_screen) = 0; 64 virtual void HideErrorScreen(BaseScreen* parent_screen) = 0;
73 65
74 protected: 66 protected:
75 virtual ~ScreenObserver() {} 67 virtual ~ScreenObserver() {}
76 }; 68 };
77 69
78 } // namespace chromeos 70 } // namespace chromeos
79 71
80 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_OBSERVER_H_ 72 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698