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

Unified Diff: ash/system/network/network_list.h

Issue 2869053002: Merge NetworkListViewBase hierarchy and NetworkStateListDetailedView (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/BUILD.gn ('k') | ash/system/network/network_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/network/network_list.h
diff --git a/ash/system/network/network_list.h b/ash/system/network/network_list.h
index 33790cbc6f785a6e43c6b6df6dcb626c58e04b40..ba6beedeada8ed487630c05fbc3132ff87add2ee 100644
--- a/ash/system/network/network_list.h
+++ b/ash/system/network/network_list.h
@@ -13,11 +13,10 @@
#include "ash/system/network/network_icon_animation_observer.h"
#include "ash/system/network/network_info.h"
-#include "ash/system/network/network_list_view_base.h"
+#include "ash/system/network/network_state_list_detailed_view.h"
#include "base/macros.h"
#include "chromeos/network/network_state_handler.h"
#include "chromeos/network/network_type_pattern.h"
-#include "ui/gfx/image/image_skia.h"
namespace views {
class Label;
@@ -27,21 +26,22 @@ class View;
namespace ash {
class HoverHighlightView;
-struct NetworkInfo;
class TriView;
+namespace tray {
+
// A list of available networks of a given type. This class is used for all
// network types except VPNs. For VPNs, see the |VPNList| class.
-class NetworkListView : public NetworkListViewBase,
+class NetworkListView : public NetworkStateListDetailedView,
public network_icon::AnimationObserver {
public:
class SectionHeaderRowView;
- explicit NetworkListView(tray::NetworkStateListDetailedView* detailed_view);
+ NetworkListView(SystemTrayItem* owner, LoginStatus login);
~NetworkListView() override;
- // NetworkListViewBase:
- void Update() override;
+ // NetworkStateListDetailedView:
+ void UpdateNetworkList() override;
bool IsNetworkEntry(views::View* view, std::string* guid) const override;
private:
@@ -151,6 +151,7 @@ class NetworkListView : public NetworkListViewBase,
DISALLOW_COPY_AND_ASSIGN(NetworkListView);
};
+} // namespace tray
} // namespace ash
#endif // ASH_SYSTEM_NETWORK_NETWORK_LIST_H_
« no previous file with comments | « ash/BUILD.gn ('k') | ash/system/network/network_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698