123456789101112131415161718192021222324252627282930313233 |
- // Copyright 2022 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_NETWORK_LIST_MOBILE_HEADER_VIEW_H_
- #define ASH_SYSTEM_NETWORK_NETWORK_LIST_MOBILE_HEADER_VIEW_H_
- #include "ash/ash_export.h"
- #include "ash/system/network/network_list_network_header_view.h"
- #include "ui/base/metadata/metadata_impl_macros.h"
- namespace ash {
- // This class is the interface used to create network list header for Mobile
- // networks, and is responsible for the creation of mobile-specific buttons.
- class ASH_EXPORT NetworkListMobileHeaderView
- : public NetworkListNetworkHeaderView {
- public:
- METADATA_HEADER(NetworkListMobileHeaderView);
- explicit NetworkListMobileHeaderView(
- NetworkListNetworkHeaderView::Delegate* delegate);
- NetworkListMobileHeaderView(const NetworkListMobileHeaderView&) = delete;
- NetworkListMobileHeaderView& operator=(const NetworkListMobileHeaderView&) =
- delete;
- ~NetworkListMobileHeaderView() override;
- virtual void SetAddESimButtonState(bool enabled, bool visible) = 0;
- };
- } // namespace ash
- #endif // ASH_SYSTEM_NETWORK_NETWORK_LIST_MOBILE_HEADER_VIEW_H_
|