| 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_WEBUI_LOGIN_DISPLAY_HOST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_HOST_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_HOST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_HOST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // Loads given URL. Creates WebUILoginView if needed. | 67 // Loads given URL. Creates WebUILoginView if needed. |
| 68 void LoadURL(const GURL& url); | 68 void LoadURL(const GURL& url); |
| 69 | 69 |
| 70 // Shows OOBE/sign in WebUI that was previously initialized in hidden state. | 70 // Shows OOBE/sign in WebUI that was previously initialized in hidden state. |
| 71 void ShowWebUI(); | 71 void ShowWebUI(); |
| 72 | 72 |
| 73 // Starts postponed WebUI (OOBE/sign in) if it was waiting for | 73 // Starts postponed WebUI (OOBE/sign in) if it was waiting for |
| 74 // wallpaper animation end. | 74 // wallpaper animation end. |
| 75 void StartPostponedWebUI(); | 75 void StartPostponedWebUI(); |
| 76 | 76 |
| 77 void InitLoginWindowAndView(); |
| 78 |
| 79 void ResetLoginWindowAndView(); |
| 80 |
| 77 // Container of the screen we are displaying. | 81 // Container of the screen we are displaying. |
| 78 views::Widget* login_window_; | 82 views::Widget* login_window_; |
| 79 | 83 |
| 80 // Container of the view we are displaying. | 84 // Container of the view we are displaying. |
| 81 WebUILoginView* login_view_; | 85 WebUILoginView* login_view_; |
| 82 | 86 |
| 83 // Login display we are using. | 87 // Login display we are using. |
| 84 WebUILoginDisplay* webui_login_display_; | 88 WebUILoginDisplay* webui_login_display_; |
| 85 | 89 |
| 86 // True if alternate boot animation is enabled. | 90 // True if alternate boot animation is enabled. |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 // Stored parameters for StartWizard, required to restore in case of crash. | 130 // Stored parameters for StartWizard, required to restore in case of crash. |
| 127 std::string wizard_first_screen_name_; | 131 std::string wizard_first_screen_name_; |
| 128 scoped_ptr<DictionaryValue> wizard_screen_parameters_; | 132 scoped_ptr<DictionaryValue> wizard_screen_parameters_; |
| 129 | 133 |
| 130 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplayHost); | 134 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplayHost); |
| 131 }; | 135 }; |
| 132 | 136 |
| 133 } // namespace chromeos | 137 } // namespace chromeos |
| 134 | 138 |
| 135 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_HOST_H_ | 139 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_HOST_H_ |
| OLD | NEW |