12345678910111213141516171819202122232425262728293031323334353637383940 |
- // Copyright 2020 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_PHONEHUB_TETHER_CONNECTION_PENDING_VIEW_H_
- #define ASH_SYSTEM_PHONEHUB_TETHER_CONNECTION_PENDING_VIEW_H_
- #include "ash/ash_export.h"
- #include "ash/system/phonehub/phone_hub_content_view.h"
- #include "ui/base/metadata/metadata_header_macros.h"
- #include "ui/views/view.h"
- namespace ash {
- class PhoneHubInterstitialView;
- // A connecting to tether hotspot view shown when resuming an interrupted
- // connection to PhoneHub as a result of an in progress tether connection.
- class ASH_EXPORT TetherConnectionPendingView : public PhoneHubContentView {
- public:
- METADATA_HEADER(TetherConnectionPendingView);
- TetherConnectionPendingView();
- TetherConnectionPendingView(const TetherConnectionPendingView&) = delete;
- TetherConnectionPendingView& operator=(const TetherConnectionPendingView&) =
- delete;
- ~TetherConnectionPendingView() override;
- // PhoneHubContentView:
- phone_hub_metrics::Screen GetScreenForMetrics() const override;
- private:
- // Responsible for displaying the connecting UI contents.
- // Owned by view hierarchy.
- PhoneHubInterstitialView* content_view_ = nullptr;
- };
- } // namespace ash
- #endif // ASH_SYSTEM_PHONEHUB_TETHER_CONNECTION_PENDING_VIEW_H_
|