#include "chrome/browser/ui/views/extensions/extensions_menu_button.h"
#include "base/functional/bind.h"
#include "base/metrics/user_metrics.h"
#include "base/metrics/user_metrics_action.h"
#include "chrome/browser/ui/toolbar/toolbar_action_view_controller.h"
#include "chrome/browser/ui/views/bubble_menu_item_factory.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/controls/hover_button.h"
#include "chrome/browser/ui/views/extensions/extensions_menu_view.h"
#include "chrome/browser/ui/views/extensions/extensions_toolbar_button.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/toolbar/toolbar_view.h"
#include "extensions/common/extension_features.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/views/animation/ink_drop.h"
#include "ui/views/border.h"
#include "ui/views/controls/button/button.h"
ExtensionsMenuButton::ExtensionsMenuButton(
Browser* browser,
ToolbarActionViewController* controller)
: … { … }
ExtensionsMenuButton::~ExtensionsMenuButton() = default;
void ExtensionsMenuButton::AddedToWidget() { … }
views::FocusManager* ExtensionsMenuButton::GetFocusManagerForAccelerator() { … }
views::Button* ExtensionsMenuButton::GetReferenceButtonForPopup() { … }
content::WebContents* ExtensionsMenuButton::GetCurrentWebContents() const { … }
void ExtensionsMenuButton::UpdateState() { … }
void ExtensionsMenuButton::ShowContextMenuAsFallback() { … }
void ExtensionsMenuButton::ButtonPressed() { … }
BEGIN_METADATA(…)