#include "chrome/browser/ui/views/page_info/chosen_object_view.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/observer_list.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/chrome_typography.h"
#include "chrome/browser/ui/views/controls/rich_controls_container_view.h"
#include "chrome/browser/ui/views/page_info/chosen_object_view_observer.h"
#include "chrome/browser/ui/views/page_info/page_info_bubble_view.h"
#include "chrome/browser/ui/views/page_info/page_info_view_factory.h"
#include "components/page_info/page_info_delegate.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/color_utils.h"
#include "ui/resources/grit/ui_resources.h"
#include "ui/views/controls/button/image_button.h"
#include "ui/views/controls/button/image_button_factory.h"
#include "ui/views/controls/highlight_path_generator.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/label.h"
#include "ui/views/layout/flex_layout.h"
ChosenObjectView::ChosenObjectView(
std::unique_ptr<PageInfoUI::ChosenObjectInfo> info,
std::u16string display_name)
: … { … }
void ChosenObjectView::AddObserver(ChosenObjectViewObserver* observer) { … }
void ChosenObjectView::OnThemeChanged() { … }
ChosenObjectView::~ChosenObjectView() = default;
void ChosenObjectView::ResetPermission() { … }
void ChosenObjectView::ExecuteDeleteCommand() { … }
void ChosenObjectView::UpdateIconImage(bool is_deleted) const { … }
BEGIN_METADATA(…)