#include "chrome/browser/ui/views/extensions/extensions_menu_coordinator.h"
#include <memory>
#include "base/feature_list.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/extensions/extensions_menu_view_controller.h"
#include "extensions/common/extension_features.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/views/bubble/bubble_dialog_delegate_view.h"
#include "ui/views/layout/layout_provider.h"
#include "ui/views/view_tracker.h"
#include "ui/views/widget/widget.h"
ExtensionsMenuCoordinator::ExtensionsMenuCoordinator(Browser* browser)
: … { … }
ExtensionsMenuCoordinator::~ExtensionsMenuCoordinator() { … }
void ExtensionsMenuCoordinator::Show(
views::View* anchor_view,
ExtensionsContainer* extensions_container) { … }
void ExtensionsMenuCoordinator::Hide() { … }
bool ExtensionsMenuCoordinator::IsShowing() const { … }
views::Widget* ExtensionsMenuCoordinator::GetExtensionsMenuWidget() { … }
std::unique_ptr<views::BubbleDialogDelegate>
ExtensionsMenuCoordinator::CreateExtensionsMenuBubbleDialogDelegateForTesting(
views::View* anchor_view,
ExtensionsContainer* extensions_container) { … }
std::unique_ptr<views::BubbleDialogDelegate>
ExtensionsMenuCoordinator::CreateExtensionsMenuBubbleDialogDelegate(
views::View* anchor_view,
ExtensionsContainer* extensions_container) { … }
void ExtensionsMenuCoordinator::OnViewIsDeleting(views::View* observed_view) { … }