#include "chrome/browser/ui/views/location_bar/selected_keyword_view.h"
#include "base/check.h"
#include "chrome/browser/history_embeddings/history_embeddings_utils.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/browser/ui/layout_constants.h"
#include "chrome/grit/generated_resources.h"
#include "components/history_embeddings/history_embeddings_features.h"
#include "components/omnibox/browser/vector_icons.h"
#include "components/search_engines/template_url_service.h"
#include "components/search_engines/template_url_starter_pack_data.h"
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/theme_provider.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/font_list.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/image/image.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/gfx/text_constants.h"
#include "ui/gfx/vector_icon_types.h"
#include "ui/views/accessibility/view_accessibility.h"
SelectedKeywordView::KeywordLabelNames
SelectedKeywordView::GetKeywordLabelNames(const std::u16string& keyword,
const TemplateURLService* service) { … }
SelectedKeywordView::SelectedKeywordView(
IconLabelBubbleView::Delegate* delegate,
Profile* profile,
const gfx::FontList& font_list)
: … { … }
SelectedKeywordView::~SelectedKeywordView() { … }
void SelectedKeywordView::SetCustomImage(const gfx::Image& image) { … }
void SelectedKeywordView::OnBoundsChanged(const gfx::Rect& previous_bounds) { … }
SkColor SelectedKeywordView::GetForegroundColor() const { … }
gfx::Size SelectedKeywordView::CalculatePreferredSize(
const views::SizeBounds& available_size) const { … }
gfx::Size SelectedKeywordView::GetMinimumSize() const { … }
void SelectedKeywordView::OnThemeChanged() { … }
void SelectedKeywordView::SetKeyword(const std::u16string& keyword) { … }
const std::u16string& SelectedKeywordView::GetKeyword() const { … }
int SelectedKeywordView::GetExtraInternalSpacing() const { … }
void SelectedKeywordView::SetLabelForCurrentWidth() { … }
BEGIN_METADATA(…)