chromium/chrome/browser/ui/views/location_bar/location_icon_view.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/views/location_bar/location_icon_view.h"

#include "base/functional/bind.h"
#include "build/branding_buildflags.h"
#include "build/build_config.h"
#include "chrome/browser/extensions/extension_ui_util.h"
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/browser/ui/layout_constants.h"
#include "chrome/browser/ui/page_info/page_info_dialog.h"
#include "chrome/browser/ui/view_ids.h"
#include "chrome/browser/ui/views/location_bar/icon_label_bubble_view.h"
#include "chrome/browser/ui/views/location_bar/location_bar_util.h"
#include "chrome/browser/ui/views/page_info/page_info_bubble_view.h"
#include "chrome/grit/branded_strings.h"
#include "chrome/grit/generated_resources.h"
#include "components/dom_distiller/core/url_constants.h"
#include "components/omnibox/browser/omnibox_edit_model.h"
#include "components/security_state/core/security_state.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/url_constants.h"
#include "extensions/common/constants.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/base/clipboard/clipboard.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/ui_base_features.h"
#include "ui/color/color_id.h"
#include "ui/color/color_provider_utils.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/vector_icon_types.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/animation/flood_fill_ink_drop_ripple.h"
#include "ui/views/animation/ink_drop.h"
#include "ui/views/animation/ink_drop_highlight.h"
#include "ui/views/animation/ink_drop_host.h"
#include "ui/views/animation/ink_drop_impl.h"
#include "ui/views/animation/ink_drop_ripple.h"
#include "ui/views/controls/label.h"
#include "ui/views/style/platform_style.h"
#include "ui/views/view_class_properties.h"

#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
#include "components/vector_icons/vector_icons.h"  // nogncheck
#endif

WebContents;
SecurityLevel;

std::optional<ui::ColorId>
LocationIconView::Delegate::GetLocationIconBackgroundColorOverride() const {}

LocationIconView::LocationIconView(
    const gfx::FontList& font_list,
    IconLabelBubbleView::Delegate* parent_delegate,
    Delegate* delegate)
    :{}

LocationIconView::~LocationIconView() {}

gfx::Size LocationIconView::GetMinimumSize() const {}

bool LocationIconView::OnMouseDragged(const ui::MouseEvent& event) {}

SkColor LocationIconView::GetForegroundColor() const {}

bool LocationIconView::ShouldShowSeparator() const {}

bool LocationIconView::ShouldShowLabelAfterAnimation() const {}

bool LocationIconView::ShowBubble(const ui::Event& event) {}

bool LocationIconView::IsBubbleShowing() const {}

bool LocationIconView::OnMousePressed(const ui::MouseEvent& event) {}

void LocationIconView::AddedToWidget() {}

void LocationIconView::OnThemeChanged() {}

security_state::SecurityLevel LocationIconView::GetSecurityLevel() const {}

bool LocationIconView::HasSecurityStateChanged() const {}

void LocationIconView::SetSecurityLevelForTesting(
    security_state::SecurityLevel security_level) {}

int LocationIconView::GetMinimumLabelTextWidth() const {}

bool LocationIconView::GetShowText() const {}

const views::InkDrop* LocationIconView::get_ink_drop_for_testing() {}

std::u16string LocationIconView::GetText() const {}

bool LocationIconView::GetAnimateTextVisibilityChange() const {}

void LocationIconView::UpdateTextVisibility(bool suppress_animations) {}

void LocationIconView::SetAccessibleProperties(bool is_initialization) {}

void LocationIconView::UpdateIcon() {}

void LocationIconView::UpdateBackground() {}

void LocationIconView::OnIconFetched(const gfx::Image& image) {}

void LocationIconView::Update(bool suppress_animations,
                              bool force_hide_background) {}

bool LocationIconView::IsTriggerableEvent(const ui::Event& event) {}

void LocationIconView::UpdateBorder() {}

gfx::Size LocationIconView::GetMinimumSizeForPreferredSize(
    gfx::Size size) const {}

BEGIN_METADATA()