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_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 void Show() override; | 26 void Show() override; |
27 void Hide() override; | 27 void Hide() override; |
28 void Bind(UpdateModel& model) override; | 28 void Bind(UpdateModel& model) override; |
29 void Unbind() override; | 29 void Unbind() override; |
30 | 30 |
31 // BaseScreenHandler: | 31 // BaseScreenHandler: |
32 void DeclareLocalizedValues(LocalizedValuesBuilder* builder) override; | 32 void DeclareLocalizedValues(LocalizedValuesBuilder* builder) override; |
33 void Initialize() override; | 33 void Initialize() override; |
34 | 34 |
35 private: | 35 private: |
| 36 // Observer is added in OobeUI. |
36 // NetworkDropdownHandler::Observer implementation: | 37 // NetworkDropdownHandler::Observer implementation: |
37 void OnConnectToNetworkRequested() override; | 38 void OnConnectToNetworkRequested() override; |
38 | 39 |
39 UpdateModel* model_; | 40 UpdateModel* model_; |
40 | 41 |
41 // Keeps whether screen should be shown right after initialization. | 42 // Keeps whether screen should be shown right after initialization. |
42 bool show_on_init_; | 43 bool show_on_init_; |
43 | 44 |
44 DISALLOW_COPY_AND_ASSIGN(UpdateScreenHandler); | 45 DISALLOW_COPY_AND_ASSIGN(UpdateScreenHandler); |
45 }; | 46 }; |
46 | 47 |
47 } // namespace chromeos | 48 } // namespace chromeos |
48 | 49 |
49 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_ | 50 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_ |
OLD | NEW |