#include "chrome/browser/ui/views/controls/rich_controls_container_view.h"
#include "chrome/browser/ui/layout_constants.h"
#include "chrome/browser/ui/ui_features.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "components/content_settings/browser/ui/cookie_controls_util.h"
#include "components/content_settings/core/common/cookie_controls_enforcement.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/ui_base_features.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/styled_label.h"
#include "ui/views/layout/box_layout_view.h"
#include "ui/views/style/typography.h"
#include "ui/views/widget/widget.h"
namespace {
Util;
std::unique_ptr<views::View> CreateLabelWrapper() { … }
}
DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(RichControlsContainerView, kIcon);
DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(RichControlsContainerView, kEnforcedIcon);
RichControlsContainerView::RichControlsContainerView() { … }
void RichControlsContainerView::SetIcon(const ui::ImageModel image) { … }
void RichControlsContainerView::SetEnforcedIcon(
CookieControlsEnforcement enforcement) { … }
void RichControlsContainerView::SetTitle(std::u16string title) { … }
int RichControlsContainerView::GetFirstLineHeight() { … }
views::Label* RichControlsContainerView::AddSecondaryLabel(
std::u16string text) { … }
views::StyledLabel* RichControlsContainerView::AddSecondaryStyledLabel(
std::u16string text) { … }
gfx::Size RichControlsContainerView::FlexRule(
const views::View* view,
const views::SizeBounds& maximum_size) const { … }
gfx::Size RichControlsContainerView::CalculatePreferredSize(
const views::SizeBounds& available_size) const { … }
const std::u16string& RichControlsContainerView::GetTitleForTesting() { … }
const ui::ImageModel RichControlsContainerView::GetIconForTesting() { … }
const ui::ImageModel RichControlsContainerView::GetEnforcedIconForTesting() { … }
int RichControlsContainerView::GetMinBubbleWidth() const { … }
BEGIN_METADATA(…)