#include "components/infobars/core/infobar_delegate.h"
#include "build/build_config.h"
#include "components/infobars/core/infobar.h"
#include "components/infobars/core/infobar_manager.h"
#include "ui/base/models/image_model.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/vector_icon_types.h"
#if !BUILDFLAG(IS_IOS) && !BUILDFLAG(IS_ANDROID)
#include "ui/gfx/color_palette.h"
#include "ui/gfx/paint_vector_icon.h"
#endif
namespace infobars {
const int InfoBarDelegate::kNoIconID = …;
InfoBarDelegate::~InfoBarDelegate() { … }
int InfoBarDelegate::GetIconId() const { … }
const gfx::VectorIcon& InfoBarDelegate::GetVectorIcon() const { … }
ui::ImageModel InfoBarDelegate::GetIcon() const { … }
std::u16string InfoBarDelegate::GetLinkText() const { … }
GURL InfoBarDelegate::GetLinkURL() const { … }
bool InfoBarDelegate::EqualsDelegate(InfoBarDelegate* delegate) const { … }
bool InfoBarDelegate::ShouldExpire(const NavigationDetails& details) const { … }
bool InfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) { … }
void InfoBarDelegate::InfoBarDismissed() { … }
bool InfoBarDelegate::IsCloseable() const { … }
bool InfoBarDelegate::ShouldAnimate() const { … }
ConfirmInfoBarDelegate* InfoBarDelegate::AsConfirmInfoBarDelegate() { … }
blocked_content::PopupBlockedInfoBarDelegate*
InfoBarDelegate::AsPopupBlockedInfoBarDelegate() { … }
ThemeInstalledInfoBarDelegate*
InfoBarDelegate::AsThemePreviewInfobarDelegate() { … }
translate::TranslateInfoBarDelegate*
InfoBarDelegate::AsTranslateInfoBarDelegate() { … }
#if BUILDFLAG(IS_ANDROID)
offline_pages::OfflinePageInfoBarDelegate*
InfoBarDelegate::AsOfflinePageInfoBarDelegate() {
return nullptr;
}
#endif
InfoBarDelegate::InfoBarDelegate() = default;
}