12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- // Copyright 2018 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_NETWORK_UNIFIED_VPN_DETAILED_VIEW_CONTROLLER_H_
- #define ASH_SYSTEM_NETWORK_UNIFIED_VPN_DETAILED_VIEW_CONTROLLER_H_
- #include <memory>
- #include "ash/system/unified/detailed_view_controller.h"
- namespace ash {
- class DetailedViewDelegate;
- class UnifiedSystemTrayController;
- class VPNListView;
- // Controller of VPN detailed view in UnifiedSystemTray.
- class UnifiedVPNDetailedViewController : public DetailedViewController {
- public:
- explicit UnifiedVPNDetailedViewController(
- UnifiedSystemTrayController* tray_controller);
- UnifiedVPNDetailedViewController(const UnifiedVPNDetailedViewController&) =
- delete;
- UnifiedVPNDetailedViewController& operator=(
- const UnifiedVPNDetailedViewController&) = delete;
- ~UnifiedVPNDetailedViewController() override;
- // DetailedViewControllerBase:
- views::View* CreateView() override;
- std::u16string GetAccessibleName() const override;
- private:
- const std::unique_ptr<DetailedViewDelegate> detailed_view_delegate_;
- VPNListView* view_ = nullptr;
- };
- } // namespace ash
- #endif // ASH_SYSTEM_NETWORK_UNIFIED_VPN_DETAILED_VIEW_CONTROLLER_H_
|