blob: d5b42ac62d4762417a31502c087a8c1301bb0741 [file] [log] [blame]
Avi Drissman4a8573c2022-09-09 19:35:541// Copyright 2019 The Chromium Authors
Yasmin78e32eccc2019-08-02 14:54:332// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Hira Mahmood0f3c35a82024-07-31 15:43:265#ifndef COMPONENTS_SHARING_MESSAGE_SHARING_DIALOG_H_
6#define COMPONENTS_SHARING_MESSAGE_SHARING_DIALOG_H_
Yasmin78e32eccc2019-08-02 14:54:337
8// The cross-platform UI interface which displays the sharing dialog.
9// This object is responsible for its own lifetime.
10class SharingDialog {
11 public:
Himanshu Jaju03f68692019-12-03 11:10:0712 virtual ~SharingDialog() = default;
13
Yasmin78e32eccc2019-08-02 14:54:3314 // Called to close the dialog and prevent future callbacks into the
15 // controller.
16 virtual void Hide() = 0;
17};
18
Hira Mahmood0f3c35a82024-07-31 15:43:2619#endif // COMPONENTS_SHARING_MESSAGE_SHARING_DIALOG_H_