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 16 matching lines...) Expand all Loading... |
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( | 32 void DeclareLocalizedValues( |
33 ::login::LocalizedValuesBuilder* builder) override; | 33 ::login::LocalizedValuesBuilder* builder) override; |
34 void Initialize() override; | 34 void Initialize() override; |
35 | 35 |
36 private: | 36 private: |
| 37 // Observer is added in OobeUI. |
37 // NetworkDropdownHandler::Observer implementation: | 38 // NetworkDropdownHandler::Observer implementation: |
38 void OnConnectToNetworkRequested() override; | 39 void OnConnectToNetworkRequested() override; |
39 | 40 |
40 UpdateModel* model_; | 41 UpdateModel* model_; |
41 | 42 |
42 // Keeps whether screen should be shown right after initialization. | 43 // Keeps whether screen should be shown right after initialization. |
43 bool show_on_init_; | 44 bool show_on_init_; |
44 | 45 |
45 DISALLOW_COPY_AND_ASSIGN(UpdateScreenHandler); | 46 DISALLOW_COPY_AND_ASSIGN(UpdateScreenHandler); |
46 }; | 47 }; |
47 | 48 |
48 } // namespace chromeos | 49 } // namespace chromeos |
49 | 50 |
50 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_ | 51 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_ |
OLD | NEW |