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 { | 12 namespace internal { |
13 | 13 |
14 namespace tray { | 14 namespace tray { |
15 | 15 |
16 // Abstract base class for all NetworkDetailedView derived subclasses, | 16 // Abstract base class for all NetworkDetailedView derived subclasses, |
17 // which includes NetworkWifiDetailedView and NetworkListDetailedViewBase. | 17 // which includes NetworkWifiDetailedView and NetworkStateListDetailedView. |
18 class NetworkDetailedView : public TrayDetailsView { | 18 class NetworkDetailedView : public TrayDetailsView { |
19 public: | 19 public: |
20 typedef chromeos::NetworkStateHandler::NetworkStateList NetworkStateList; | 20 typedef chromeos::NetworkStateHandler::NetworkStateList NetworkStateList; |
21 | 21 |
22 enum DetailedViewType { | 22 enum DetailedViewType { |
23 LIST_VIEW, | 23 LIST_VIEW, |
24 STATE_LIST_VIEW, | 24 STATE_LIST_VIEW, |
25 WIFI_VIEW, | 25 WIFI_VIEW, |
26 }; | 26 }; |
27 | 27 |
(...skipping 20 matching lines...) Expand all Loading... |
48 protected: | 48 protected: |
49 virtual ~NetworkDetailedView() {} | 49 virtual ~NetworkDetailedView() {} |
50 }; | 50 }; |
51 | 51 |
52 } // namespace tray | 52 } // namespace tray |
53 | 53 |
54 } // namespace internal | 54 } // namespace internal |
55 } // namespace ash | 55 } // namespace ash |
56 | 56 |
57 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H | 57 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_DETAILED_VIEW_H |
OLD | NEW |