OLD | NEW |
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_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 // Add and remove observers for screen change events. | 147 // Add and remove observers for screen change events. |
148 void AddObserver(Observer* observer); | 148 void AddObserver(Observer* observer); |
149 void RemoveObserver(Observer* observer); | 149 void RemoveObserver(Observer* observer); |
150 | 150 |
151 OobeScreen current_screen() const { return current_screen_; } | 151 OobeScreen current_screen() const { return current_screen_; } |
152 | 152 |
153 OobeScreen previous_screen() const { return previous_screen_; } | 153 OobeScreen previous_screen() const { return previous_screen_; } |
154 | 154 |
155 const std::string& display_type() const { return display_type_; } | 155 const std::string& display_type() const { return display_type_; } |
156 | 156 |
157 SigninScreenHandler* signin_screen_handler_for_test() { | 157 SigninScreenHandler* signin_screen_handler() { |
158 return signin_screen_handler_; | 158 return signin_screen_handler_; |
159 } | 159 } |
160 | 160 |
161 NetworkStateInformer* network_state_informer_for_test() const { | 161 NetworkStateInformer* network_state_informer_for_test() const { |
162 return network_state_informer_.get(); | 162 return network_state_informer_.get(); |
163 } | 163 } |
164 | 164 |
165 // Does ReloadContent() if needed (for example, if material design mode has | 165 // Does ReloadContent() if needed (for example, if material design mode has |
166 // changed). | 166 // changed). |
167 void UpdateLocalizedStringsIfNeeded(); | 167 void UpdateLocalizedStringsIfNeeded(); |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_; | 257 std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_; |
258 | 258 |
259 std::unique_ptr<ash::ScreenDimmer> screen_dimmer_; | 259 std::unique_ptr<ash::ScreenDimmer> screen_dimmer_; |
260 | 260 |
261 DISALLOW_COPY_AND_ASSIGN(OobeUI); | 261 DISALLOW_COPY_AND_ASSIGN(OobeUI); |
262 }; | 262 }; |
263 | 263 |
264 } // namespace chromeos | 264 } // namespace chromeos |
265 | 265 |
266 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ | 266 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ |
OLD | NEW |