Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: ash/common/system/chromeos/network/network_state_list_detailed_view.h

Issue 2342793005: [ash-md] Adds Wi-Fi header row to system tray network detailed view (Closed)
Patch Set: [ash-md] Materializes system tray network detailed view (rebased) Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 void ToggleMobile(); 107 void ToggleMobile();
108 108
109 // ui::NetworkListDelegate: 109 // ui::NetworkListDelegate:
110 views::View* CreateViewForNetwork(const ui::NetworkInfo& info) override; 110 views::View* CreateViewForNetwork(const ui::NetworkInfo& info) override;
111 bool IsViewHovered(views::View* view) override; 111 bool IsViewHovered(views::View* view) override;
112 chromeos::NetworkTypePattern GetNetworkTypePattern() const override; 112 chromeos::NetworkTypePattern GetNetworkTypePattern() const override;
113 void UpdateViewForNetwork(views::View* view, 113 void UpdateViewForNetwork(views::View* view,
114 const ui::NetworkInfo& info) override; 114 const ui::NetworkInfo& info) override;
115 views::Label* CreateInfoLabel() override; 115 views::Label* CreateInfoLabel() override;
116 void OnNetworkEntryClicked(views::View* sender) override; 116 void OnNetworkEntryClicked(views::View* sender) override;
117 void OnOtherWifiClicked() override;
117 void RelayoutScrollList() override; 118 void RelayoutScrollList() override;
118 119
119 // Type of list (all networks or vpn) 120 // Type of list (all networks or vpn)
120 ListType list_type_; 121 ListType list_type_;
121 122
122 // Track login state. 123 // Track login state.
123 LoginStatus login_; 124 LoginStatus login_;
124 125
125 // Tracks the WiFi scanning state to help detect if the state has changed. Use 126 // Tracks the WiFi scanning state to help detect if the state has changed. Use
126 // NetworkHandler::GetScanningByType() if you require the current wifi 127 // NetworkHandler::GetScanningByType() if you require the current wifi
(...skipping 24 matching lines...) Expand all
151 152
152 std::unique_ptr<ui::NetworkListViewBase> network_list_view_; 153 std::unique_ptr<ui::NetworkListViewBase> network_list_view_;
153 154
154 DISALLOW_COPY_AND_ASSIGN(NetworkStateListDetailedView); 155 DISALLOW_COPY_AND_ASSIGN(NetworkStateListDetailedView);
155 }; 156 };
156 157
157 } // namespace tray 158 } // namespace tray
158 } // namespace ash 159 } // namespace ash
159 160
160 #endif // ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_STATE_LIST_DETAILED_VIEW_H _ 161 #endif // ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_STATE_LIST_DETAILED_VIEW_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698