chromium/components/infobars/core/infobar_manager.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/infobars/core/infobar_manager.h"

#include <utility>

#include "base/command_line.h"
#include "base/observer_list.h"
#include "base/ranges/algorithm.h"
#include "build/branding_buildflags.h"
#include "components/infobars/core/confirm_infobar_delegate.h"
#include "components/infobars/core/infobar.h"
#include "components/infobars/core/infobars_switches.h"
#include "ui/gfx/switches.h"

namespace infobars {

namespace {

bool DisableInfoBars() {}

}  // namespace

// InfoBarManager::Observer ---------------------------------------------------

InfoBarManager::Observer::~Observer() {}

void InfoBarManager::Observer::OnInfoBarAdded(InfoBar* infobar) {}

void InfoBarManager::Observer::OnInfoBarRemoved(InfoBar* infobar,
                                                bool animate) {}

void InfoBarManager::Observer::OnInfoBarReplaced(InfoBar* old_infobar,
                                                 InfoBar* new_infobar) {}

void InfoBarManager::Observer::OnManagerShuttingDown(InfoBarManager* manager) {}


// InfoBarManager --------------------------------------------------------------

InfoBar* InfoBarManager::AddInfoBar(std::unique_ptr<InfoBar> new_infobar,
                                    bool replace_existing) {}

void InfoBarManager::RemoveInfoBar(InfoBar* infobar) {}

void InfoBarManager::RemoveAllInfoBars(bool animate) {}

InfoBar* InfoBarManager::ReplaceInfoBar(InfoBar* old_infobar,
                                        std::unique_ptr<InfoBar> new_infobar) {}

void InfoBarManager::AddObserver(Observer* obs) {}

void InfoBarManager::RemoveObserver(Observer* obs) {}

InfoBarManager::InfoBarManager() :{}

InfoBarManager::~InfoBarManager() = default;

void InfoBarManager::ShutDown() {}

void InfoBarManager::OnNavigation(
    const InfoBarDelegate::NavigationDetails& details) {}

void InfoBarManager::RemoveInfoBarInternal(InfoBar* infobar, bool animate) {}

bool InfoBarManager::ShouldShowInfoBar(const InfoBar* infobar) const {}

}  // namespace infobars