// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_VIEWS_TAB_SHARING_TAB_SHARING_INFOBAR_H_ #define CHROME_BROWSER_UI_VIEWS_TAB_SHARING_TAB_SHARING_INFOBAR_H_ #include "base/memory/raw_ptr.h" #include "chrome/browser/ui/views/infobars/infobar_view.h" namespace views { class Label; class MdTextButton; } // namespace views class TabSharingInfoBarDelegate; // The infobar displayed when sharing a tab. It shows: // - a message informing the user about which site is shared with which site // - an optional button for quick navigation to the capturing/captured tab // - an optional button for sharing the currently displayed tab instead // - a button to stop the capture class TabSharingInfoBar : public InfoBarView { … }; #endif // CHROME_BROWSER_UI_VIEWS_TAB_SHARING_TAB_SHARING_INFOBAR_H_