#include "chrome/browser/ui/views/location_bar/intent_chip_button.h"
#include "base/check.h"
#include "base/check_is_test.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "build/build_config.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/intent_picker_tab_helper.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/intent_picker_bubble_view.h"
#include "chrome/browser/ui/views/location_bar/omnibox_chip_button.h"
#include "chrome/grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/models/image_model.h"
#include "ui/base/ui_base_features.h"
#include "ui/views/style/platform_style.h"
#include "ui/views/view_class_properties.h"
IntentChipButton::IntentChipButton(Browser* browser,
PageActionIconView::Delegate* delegate)
: … { … }
IntentChipButton::~IntentChipButton() = default;
void IntentChipButton::Update() { … }
ui::ImageModel IntentChipButton::GetAppIconForTesting() const { … }
bool IntentChipButton::GetShowChip() const { … }
bool IntentChipButton::GetChipExpanded() const { … }
ui::ImageModel IntentChipButton::GetAppIcon() const { … }
void IntentChipButton::HandlePressed() { … }
IntentPickerTabHelper* IntentChipButton::GetTabHelper() const { … }
ui::ImageModel IntentChipButton::GetIconImageModel() const { … }
const gfx::VectorIcon& IntentChipButton::GetIcon() const { … }
ui::ColorId IntentChipButton::GetBackgroundColorId() const { … }
ui::ColorId IntentChipButton::GetForegroundColorId() const { … }
BEGIN_METADATA(…)