Index: ash/common/system/chromeos/network/tray_network.h |
diff --git a/ash/common/system/chromeos/network/tray_network.h b/ash/common/system/chromeos/network/tray_network.h |
deleted file mode 100644 |
index 34a4284c8a63420807bf43e73e8578672a60046a..0000000000000000000000000000000000000000 |
--- a/ash/common/system/chromeos/network/tray_network.h |
+++ /dev/null |
@@ -1,66 +0,0 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_H_ |
-#define ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_H_ |
- |
-#include <memory> |
-#include <set> |
- |
-#include "ash/common/system/chromeos/network/network_observer.h" |
-#include "ash/common/system/chromeos/network/network_portal_detector_observer.h" |
-#include "ash/common/system/chromeos/network/tray_network_state_observer.h" |
-#include "ash/common/system/tray/system_tray_item.h" |
-#include "base/macros.h" |
-#include "base/time/time.h" |
- |
-namespace ash { |
-namespace tray { |
-class NetworkDefaultView; |
-class NetworkDetailedView; |
-class NetworkTrayView; |
-} |
- |
-class TrayNetwork : public SystemTrayItem, |
- public NetworkObserver, |
- public NetworkPortalDetectorObserver, |
- public TrayNetworkStateObserver::Delegate { |
- public: |
- explicit TrayNetwork(SystemTray* system_tray); |
- ~TrayNetwork() override; |
- |
- tray::NetworkDetailedView* detailed() { return detailed_; } |
- |
- // SystemTrayItem |
- views::View* CreateTrayView(LoginStatus status) override; |
- views::View* CreateDefaultView(LoginStatus status) override; |
- views::View* CreateDetailedView(LoginStatus status) override; |
- void DestroyTrayView() override; |
- void DestroyDefaultView() override; |
- void DestroyDetailedView() override; |
- void UpdateAfterLoginStatusChange(LoginStatus status) override; |
- void UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) override; |
- |
- // NetworkObserver |
- void RequestToggleWifi() override; |
- |
- // NetworkPortalDetectorObserver |
- void OnCaptivePortalDetected(const std::string& guid) override; |
- |
- // TrayNetworkStateObserver::Delegate |
- void NetworkStateChanged() override; |
- |
- private: |
- tray::NetworkTrayView* tray_; |
- tray::NetworkDefaultView* default_; |
- tray::NetworkDetailedView* detailed_; |
- bool request_wifi_view_; |
- std::unique_ptr<TrayNetworkStateObserver> network_state_observer_; |
- |
- DISALLOW_COPY_AND_ASSIGN(TrayNetwork); |
-}; |
- |
-} // namespace ash |
- |
-#endif // ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_H_ |