| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 void Bind(NetworkModel& model) override; | 37 void Bind(NetworkModel& model) override; |
| 38 void Unbind() override; | 38 void Unbind() override; |
| 39 void ShowError(const base::string16& message) override; | 39 void ShowError(const base::string16& message) override; |
| 40 void ClearErrors() override; | 40 void ClearErrors() override; |
| 41 void StopDemoModeDetection() override; | 41 void StopDemoModeDetection() override; |
| 42 void ShowConnectingStatus(bool connecting, | 42 void ShowConnectingStatus(bool connecting, |
| 43 const base::string16& network_id) override; | 43 const base::string16& network_id) override; |
| 44 void ReloadLocalizedContent() override; | 44 void ReloadLocalizedContent() override; |
| 45 | 45 |
| 46 // BaseScreenHandler implementation: | 46 // BaseScreenHandler implementation: |
| 47 void DeclareLocalizedValues(LocalizedValuesBuilder* builder) override; | 47 void DeclareLocalizedValues( |
| 48 ::login::LocalizedValuesBuilder* builder) override; |
| 48 void GetAdditionalParameters(base::DictionaryValue* dict) override; | 49 void GetAdditionalParameters(base::DictionaryValue* dict) override; |
| 49 void Initialize() override; | 50 void Initialize() override; |
| 50 | 51 |
| 51 private: | 52 private: |
| 52 // Returns available timezones. Caller gets the ownership. | 53 // Returns available timezones. Caller gets the ownership. |
| 53 static base::ListValue* GetTimezoneList(); | 54 static base::ListValue* GetTimezoneList(); |
| 54 | 55 |
| 55 CoreOobeActor* core_oobe_actor_; | 56 CoreOobeActor* core_oobe_actor_; |
| 56 NetworkModel* model_; | 57 NetworkModel* model_; |
| 57 | 58 |
| 58 // Keeps whether screen should be shown right after initialization. | 59 // Keeps whether screen should be shown right after initialization. |
| 59 bool show_on_init_; | 60 bool show_on_init_; |
| 60 | 61 |
| 61 // Position of the network control. | 62 // Position of the network control. |
| 62 gfx::Point network_control_pos_; | 63 gfx::Point network_control_pos_; |
| 63 | 64 |
| 64 DISALLOW_COPY_AND_ASSIGN(NetworkScreenHandler); | 65 DISALLOW_COPY_AND_ASSIGN(NetworkScreenHandler); |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 } // namespace chromeos | 68 } // namespace chromeos |
| 68 | 69 |
| 69 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ | 70 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ |
| OLD | NEW |