| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CHROMEOS_LOGIN_NETWORK_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 // views::Combobox::Listener implementation: | 42 // views::Combobox::Listener implementation: |
| 43 virtual void ItemChanged(views::Combobox* sender, | 43 virtual void ItemChanged(views::Combobox* sender, |
| 44 int prev_index, | 44 int prev_index, |
| 45 int new_index); | 45 int new_index); |
| 46 | 46 |
| 47 // views::ButtonListener implementation: | 47 // views::ButtonListener implementation: |
| 48 virtual void ButtonPressed(views::Button* sender, const views::Event& event); | 48 virtual void ButtonPressed(views::Button* sender, const views::Event& event); |
| 49 | 49 |
| 50 // NetworkLibrary::Observer implementation: | 50 // NetworkLibrary::Observer implementation: |
| 51 virtual void NetworkChanged(NetworkLibrary* network_lib); | 51 virtual void NetworkChanged(NetworkLibrary* network_lib); |
| 52 virtual void NetworkTraffic(NetworkLibrary* cros, int traffic_type) {} | |
| 53 | 52 |
| 54 // NetworkConfigView::Delegate implementation: | 53 // NetworkConfigView::Delegate implementation: |
| 55 virtual void OnDialogAccepted(); | 54 virtual void OnDialogAccepted(); |
| 56 virtual void OnDialogCancelled(); | 55 virtual void OnDialogCancelled(); |
| 57 | 56 |
| 58 protected: | 57 protected: |
| 59 // Subscribes NetworkScreen to the network change notification, | 58 // Subscribes NetworkScreen to the network change notification, |
| 60 // forces refresh of current network state. | 59 // forces refresh of current network state. |
| 61 void Refresh(); | 60 void Refresh(); |
| 62 | 61 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 132 |
| 134 ScopedRunnableMethodFactory<NetworkScreen> task_factory_; | 133 ScopedRunnableMethodFactory<NetworkScreen> task_factory_; |
| 135 LanguageSwitchMenu language_switch_menu_; | 134 LanguageSwitchMenu language_switch_menu_; |
| 136 | 135 |
| 137 DISALLOW_COPY_AND_ASSIGN(NetworkScreen); | 136 DISALLOW_COPY_AND_ASSIGN(NetworkScreen); |
| 138 }; | 137 }; |
| 139 | 138 |
| 140 } // namespace chromeos | 139 } // namespace chromeos |
| 141 | 140 |
| 142 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_H_ | 141 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_H_ |
| OLD | NEW |