#include "chrome/browser/ui/views/controls/text_with_controls_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 "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 {
std::unique_ptr<views::View> CreateLabelWrapper() { … }
}
TextWithControlsView::TextWithControlsView() { … }
void TextWithControlsView::SetTitle(std::u16string title) { … }
void TextWithControlsView::SetDescription(std::u16string description) { … }
int TextWithControlsView::GetFirstLineHeight() { … }
void TextWithControlsView::SetVisible(bool visible) { … }
views::Label* TextWithControlsView::AddSecondaryLabel(std::u16string text) { … }
gfx::Size TextWithControlsView::FlexRule(
const views::View* view,
const views::SizeBounds& maximum_size) const { … }
gfx::Size TextWithControlsView::CalculatePreferredSize(
const views::SizeBounds& available_size) const { … }
BEGIN_METADATA(…)