| 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 ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H | 5 #ifndef ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H |
| 6 #define ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H | 6 #define ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H |
| 7 | 7 |
| 8 #include "ash/system/tray/tray_details_view.h" | 8 #include "ash/system/tray/tray_details_view.h" |
| 9 #include "chromeos/network/network_state_handler.h" | 9 #include "chromeos/network/network_state_handler.h" |
| 10 | 10 |
| 11 namespace ash { | 11 namespace ash { |
| 12 namespace internal { | |
| 13 | |
| 14 namespace tray { | 12 namespace tray { |
| 15 | 13 |
| 16 // Abstract base class for all NetworkDetailedView derived subclasses, | 14 // Abstract base class for all NetworkDetailedView derived subclasses, |
| 17 // which includes NetworkWifiDetailedView and NetworkStateListDetailedView. | 15 // which includes NetworkWifiDetailedView and NetworkStateListDetailedView. |
| 18 class NetworkDetailedView : public TrayDetailsView { | 16 class NetworkDetailedView : public TrayDetailsView { |
| 19 public: | 17 public: |
| 20 enum DetailedViewType { | 18 enum DetailedViewType { |
| 21 LIST_VIEW, | 19 LIST_VIEW, |
| 22 STATE_LIST_VIEW, | 20 STATE_LIST_VIEW, |
| 23 WIFI_VIEW, | 21 WIFI_VIEW, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 41 | 39 |
| 42 // Called when a network service property has changed. | 40 // Called when a network service property has changed. |
| 43 // (Called only from TrayNetworkStateObserver). | 41 // (Called only from TrayNetworkStateObserver). |
| 44 virtual void NetworkServiceChanged(const chromeos::NetworkState* network) = 0; | 42 virtual void NetworkServiceChanged(const chromeos::NetworkState* network) = 0; |
| 45 | 43 |
| 46 protected: | 44 protected: |
| 47 virtual ~NetworkDetailedView() {} | 45 virtual ~NetworkDetailedView() {} |
| 48 }; | 46 }; |
| 49 | 47 |
| 50 } // namespace tray | 48 } // namespace tray |
| 51 | |
| 52 } // namespace internal | |
| 53 } // namespace ash | 49 } // namespace ash |
| 54 | 50 |
| 55 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H | 51 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H |
| OLD | NEW |