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_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_STATE_LIST_DETAILED_VIEW_H_ | 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_STATE_LIST_DETAILED_VIEW_H_ |
6 #define ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_STATE_LIST_DETAILED_VIEW_H_ | 6 #define ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_STATE_LIST_DETAILED_VIEW_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // Creates the view of an extra icon appearing next to the network name | 76 // Creates the view of an extra icon appearing next to the network name |
77 // indicating that the network is controlled by an extension. If no extension | 77 // indicating that the network is controlled by an extension. If no extension |
78 // is registered for this network, returns |nullptr|. | 78 // is registered for this network, returns |nullptr|. |
79 views::View* CreateControlledByExtensionView(const NetworkInfo& info); | 79 views::View* CreateControlledByExtensionView(const NetworkInfo& info); |
80 | 80 |
81 // Periodically request a network scan. | 81 // Periodically request a network scan. |
82 void CallRequestScan(); | 82 void CallRequestScan(); |
83 | 83 |
84 // NetworkListDelegate: | 84 // NetworkListDelegate: |
85 views::View* CreateViewForNetwork(const NetworkInfo& info) override; | 85 views::View* CreateViewForNetwork(const NetworkInfo& info) override; |
86 bool IsViewHovered(views::View* view) override; | |
87 chromeos::NetworkTypePattern GetNetworkTypePattern() const override; | 86 chromeos::NetworkTypePattern GetNetworkTypePattern() const override; |
88 void UpdateViewForNetwork(views::View* view, | 87 void UpdateViewForNetwork(views::View* view, |
89 const NetworkInfo& info) override; | 88 const NetworkInfo& info) override; |
90 views::Label* CreateInfoLabel() override; | 89 views::Label* CreateInfoLabel() override; |
91 void OnNetworkEntryClicked(views::View* sender) override; | 90 void OnNetworkEntryClicked(views::View* sender) override; |
92 void OnOtherWifiClicked() override; | 91 void OnOtherWifiClicked() override; |
93 void RelayoutScrollList() override; | 92 void RelayoutScrollList() override; |
94 | 93 |
95 // Type of list (all networks or vpn) | 94 // Type of list (all networks or vpn) |
96 ListType list_type_; | 95 ListType list_type_; |
(...skipping 10 matching lines...) Expand all Loading... |
107 | 106 |
108 std::unique_ptr<NetworkListViewBase> network_list_view_; | 107 std::unique_ptr<NetworkListViewBase> network_list_view_; |
109 | 108 |
110 DISALLOW_COPY_AND_ASSIGN(NetworkStateListDetailedView); | 109 DISALLOW_COPY_AND_ASSIGN(NetworkStateListDetailedView); |
111 }; | 110 }; |
112 | 111 |
113 } // namespace tray | 112 } // namespace tray |
114 } // namespace ash | 113 } // namespace ash |
115 | 114 |
116 #endif // ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_STATE_LIST_DETAILED_VIEW_H
_ | 115 #endif // ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_STATE_LIST_DETAILED_VIEW_H
_ |
OLD | NEW |