OLD | NEW |
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_LOGIN_DISPLAY_HOST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 // Returns corresponding native window. | 34 // Returns corresponding native window. |
35 virtual gfx::NativeWindow GetNativeWindow() const = 0; | 35 virtual gfx::NativeWindow GetNativeWindow() const = 0; |
36 | 36 |
37 // Returns corresponding widget. | 37 // Returns corresponding widget. |
38 virtual views::Widget* GetWidget() const = 0; | 38 virtual views::Widget* GetWidget() const = 0; |
39 | 39 |
40 // Called when browsing session starts so | 40 // Called when browsing session starts so |
41 // LoginDisplayHost instance may delete itself. | 41 // LoginDisplayHost instance may delete itself. |
42 virtual void OnSessionStart() = 0; | 42 virtual void OnSessionStart() = 0; |
| 43 virtual void PreSessionStart() = 0; |
43 | 44 |
44 // Toggles OOBE progress bar visibility, the bar is hidden by default. | 45 // Toggles OOBE progress bar visibility, the bar is hidden by default. |
45 virtual void SetOobeProgressBarVisible(bool visible) = 0; | 46 virtual void SetOobeProgressBarVisible(bool visible) = 0; |
46 | 47 |
47 // Enable/disable shutdown button. | 48 // Enable/disable shutdown button. |
48 virtual void SetShutdownButtonEnabled(bool enable) = 0; | 49 virtual void SetShutdownButtonEnabled(bool enable) = 0; |
49 | 50 |
50 // Toggles whether status area is enabled. | 51 // Toggles whether status area is enabled. |
51 virtual void SetStatusAreaEnabled(bool enable) = 0; | 52 virtual void SetStatusAreaEnabled(bool enable) = 0; |
52 | 53 |
(...skipping 15 matching lines...) Expand all Loading... |
68 // Starts sign in screen. | 69 // Starts sign in screen. |
69 virtual void StartSignInScreen() = 0; | 70 virtual void StartSignInScreen() = 0; |
70 | 71 |
71 // Resumes a previously started sign in screen. | 72 // Resumes a previously started sign in screen. |
72 virtual void ResumeSignInScreen() = 0; | 73 virtual void ResumeSignInScreen() = 0; |
73 }; | 74 }; |
74 | 75 |
75 } // namespace chromeos | 76 } // namespace chromeos |
76 | 77 |
77 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ | 78 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_H_ |
OLD | NEW |