#include "chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.h"
#include "base/functional/bind.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/grit/locale_settings.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/views/border.h"
#include "ui/views/controls/button/image_button.h"
#include "ui/views/controls/button/image_button_factory.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/link.h"
#include "ui/views/layout/box_layout.h"
namespace {
const int kBubbleExtraIconSize = …;
}
ToolbarActionsBarBubbleViews::ToolbarActionsBarBubbleViews(
views::View* anchor_view,
bool anchored_to_action,
std::unique_ptr<ToolbarActionsBarBubbleDelegate> delegate)
: … { … }
ToolbarActionsBarBubbleViews::~ToolbarActionsBarBubbleViews() { … }
std::string ToolbarActionsBarBubbleViews::GetAnchorActionId() const { … }
std::unique_ptr<views::View>
ToolbarActionsBarBubbleViews::CreateExtraInfoView() { … }
void ToolbarActionsBarBubbleViews::ButtonPressed() { … }
void ToolbarActionsBarBubbleViews::NotifyDelegateOfClose(
ToolbarActionsBarBubbleDelegate::CloseAction action) { … }
std::u16string ToolbarActionsBarBubbleViews::GetWindowTitle() const { … }
bool ToolbarActionsBarBubbleViews::ShouldShowCloseButton() const { … }
void ToolbarActionsBarBubbleViews::AddedToWidget() { … }
void ToolbarActionsBarBubbleViews::RemovedFromWidget() { … }
void ToolbarActionsBarBubbleViews::Init() { … }
void ToolbarActionsBarBubbleViews::OnWidgetVisibilityChanged(
views::Widget* widget,
bool visible) { … }
BEGIN_METADATA(…)