network_list_mobile_header_view.h 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. // Copyright 2022 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef ASH_SYSTEM_NETWORK_NETWORK_LIST_MOBILE_HEADER_VIEW_H_
  5. #define ASH_SYSTEM_NETWORK_NETWORK_LIST_MOBILE_HEADER_VIEW_H_
  6. #include "ash/ash_export.h"
  7. #include "ash/system/network/network_list_network_header_view.h"
  8. #include "ui/base/metadata/metadata_impl_macros.h"
  9. namespace ash {
  10. // This class is the interface used to create network list header for Mobile
  11. // networks, and is responsible for the creation of mobile-specific buttons.
  12. class ASH_EXPORT NetworkListMobileHeaderView
  13. : public NetworkListNetworkHeaderView {
  14. public:
  15. METADATA_HEADER(NetworkListMobileHeaderView);
  16. explicit NetworkListMobileHeaderView(
  17. NetworkListNetworkHeaderView::Delegate* delegate);
  18. NetworkListMobileHeaderView(const NetworkListMobileHeaderView&) = delete;
  19. NetworkListMobileHeaderView& operator=(const NetworkListMobileHeaderView&) =
  20. delete;
  21. ~NetworkListMobileHeaderView() override;
  22. virtual void SetAddESimButtonState(bool enabled, bool visible) = 0;
  23. };
  24. } // namespace ash
  25. #endif // ASH_SYSTEM_NETWORK_NETWORK_LIST_MOBILE_HEADER_VIEW_H_