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

Unified Diff: ash/system/chromeos/network/tray_vpn.h

Issue 2109293002: mash: Convert system tray network item to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak string Created 4 years, 6 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/system/chromeos/network/tray_sms.cc ('k') | ash/system/chromeos/network/tray_vpn.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/network/tray_vpn.h
diff --git a/ash/system/chromeos/network/tray_vpn.h b/ash/system/chromeos/network/tray_vpn.h
deleted file mode 100644
index ce73e79ac0db0cd170702e216b3a6e2a272a68c2..0000000000000000000000000000000000000000
--- a/ash/system/chromeos/network/tray_vpn.h
+++ /dev/null
@@ -1,52 +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_SYSTEM_CHROMEOS_NETWORK_TRAY_VPN_H
-#define ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_VPN_H
-
-#include <memory>
-
-#include "ash/common/system/tray/system_tray_item.h"
-#include "ash/system/chromeos/network/tray_network_state_observer.h"
-#include "base/macros.h"
-
-namespace ash {
-class TrayNetworkStateObserver;
-
-namespace tray {
-class NetworkDetailedView;
-class VpnDefaultView;
-class VpnDetailedView;
-}
-
-class TrayVPN : public SystemTrayItem,
- public TrayNetworkStateObserver::Delegate {
- public:
- explicit TrayVPN(SystemTray* system_tray);
- ~TrayVPN() override;
-
- // 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;
-
- // TrayNetworkStateObserver::Delegate
- void NetworkStateChanged() override;
-
- private:
- tray::VpnDefaultView* default_;
- tray::NetworkDetailedView* detailed_;
- std::unique_ptr<TrayNetworkStateObserver> network_state_observer_;
-
- DISALLOW_COPY_AND_ASSIGN(TrayVPN);
-};
-
-} // namespace ash
-
-#endif // ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_VPN_H
« no previous file with comments | « ash/system/chromeos/network/tray_sms.cc ('k') | ash/system/chromeos/network/tray_vpn.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698