| 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_NETWORK_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 // WebUI implementation of NetworkScreenActor. It is used to interact with | 24 // WebUI implementation of NetworkScreenActor. It is used to interact with |
| 25 // the welcome screen (part of the page) of the OOBE. | 25 // the welcome screen (part of the page) of the OOBE. |
| 26 class NetworkScreenHandler : public NetworkView, public BaseScreenHandler { | 26 class NetworkScreenHandler : public NetworkView, public BaseScreenHandler { |
| 27 public: | 27 public: |
| 28 explicit NetworkScreenHandler(CoreOobeActor* core_oobe_actor); | 28 explicit NetworkScreenHandler(CoreOobeActor* core_oobe_actor); |
| 29 ~NetworkScreenHandler() override; | 29 ~NetworkScreenHandler() override; |
| 30 | 30 |
| 31 private: | 31 private: |
| 32 // NetworkView implementation: | 32 // NetworkView implementation: |
| 33 void PrepareToShow() override; | |
| 34 void Show() override; | 33 void Show() override; |
| 35 void Hide() override; | 34 void Hide() override; |
| 36 void Bind(NetworkModel& model) override; | 35 void Bind(NetworkModel& model) override; |
| 37 void Unbind() override; | 36 void Unbind() override; |
| 38 void ShowError(const base::string16& message) override; | 37 void ShowError(const base::string16& message) override; |
| 39 void ClearErrors() override; | 38 void ClearErrors() override; |
| 40 void StopDemoModeDetection() override; | 39 void StopDemoModeDetection() override; |
| 41 void ShowConnectingStatus(bool connecting, | 40 void ShowConnectingStatus(bool connecting, |
| 42 const base::string16& network_id) override; | 41 const base::string16& network_id) override; |
| 43 void ReloadLocalizedContent() override; | 42 void ReloadLocalizedContent() override; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 60 | 59 |
| 61 // Position of the network control. | 60 // Position of the network control. |
| 62 gfx::Point network_control_pos_; | 61 gfx::Point network_control_pos_; |
| 63 | 62 |
| 64 DISALLOW_COPY_AND_ASSIGN(NetworkScreenHandler); | 63 DISALLOW_COPY_AND_ASSIGN(NetworkScreenHandler); |
| 65 }; | 64 }; |
| 66 | 65 |
| 67 } // namespace chromeos | 66 } // namespace chromeos |
| 68 | 67 |
| 69 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ | 68 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ |
| OLD | NEW |