#include "components/infobars/core/infobar.h"
#include <cmath>
#include <memory>
#include <utility>
#include "base/check.h"
#include "build/build_config.h"
#include "components/infobars/core/infobar_container.h"
#include "components/infobars/core/infobar_manager.h"
#include "ui/gfx/animation/slide_animation.h"
namespace infobars {
InfoBar::InfoBar(std::unique_ptr<InfoBarDelegate> delegate)
: … { … }
InfoBar::~InfoBar() { … }
void InfoBar::SetOwner(InfoBarManager* owner) { … }
void InfoBar::SetNotifier(std::unique_ptr<gfx::AnimationDelegate> notifier) { … }
void InfoBar::Show(bool animate) { … }
void InfoBar::Hide(bool animate) { … }
void InfoBar::CloseSoon() { … }
void InfoBar::RemoveSelf() { … }
void InfoBar::SetTargetHeight(int height) { … }
void InfoBar::AnimationProgressed(const gfx::Animation* animation) { … }
void InfoBar::AnimationEnded(const gfx::Animation* animation) { … }
void InfoBar::RecalculateHeight(bool force_notify) { … }
void InfoBar::MaybeDelete() { … }
}