#include "chrome/browser/ui/views/infobars/infobar_container_view.h"
#include <numeric>
#include "cc/paint/paint_flags.h"
#include "cc/paint/paint_shader.h"
#include "chrome/browser/themes/theme_properties.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/browser/ui/view_ids.h"
#include "chrome/browser/ui/views/infobars/infobar_view.h"
#include "chrome/grit/generated_resources.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/color/color_provider.h"
#include "ui/compositor/layer.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/skia_paint_util.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/bubble/bubble_border.h"
#include "ui/views/cascading_property.h"
#include "ui/views/controls/focus_ring.h"
namespace {
class ContentShadow : public views::View { … };
ContentShadow::ContentShadow() { … }
gfx::Size ContentShadow::CalculatePreferredSize(
const views::SizeBounds& available_size) const { … }
void ContentShadow::OnPaint(gfx::Canvas* canvas) { … }
BEGIN_METADATA(…)
}
constexpr int kSeparatorHeightDip = …;
InfoBarContainerView::InfoBarContainerView(Delegate* delegate)
: … { … }
InfoBarContainerView::~InfoBarContainerView() { … }
bool InfoBarContainerView::IsEmpty() const { … }
void InfoBarContainerView::Layout(PassKey) { … }
gfx::Size InfoBarContainerView::CalculatePreferredSize(
const views::SizeBounds& available_size) const { … }
void InfoBarContainerView::PlatformSpecificAddInfoBar(
infobars::InfoBar* infobar,
size_t position) { … }
void InfoBarContainerView::PlatformSpecificRemoveInfoBar(
infobars::InfoBar* infobar) { … }
BEGIN_METADATA(…)