#include <memory>
#include <string>
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "chrome/browser/extensions/extension_uninstall_dialog.h"
#include "chrome/browser/extensions/extension_util.h"
#include "chrome/browser/ui/views/extensions/extensions_dialogs_utils.h"
#include "chrome/browser/ui/views/extensions/extensions_toolbar_container.h"
#include "chrome/grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/image/image_skia_operations.h"
#include "ui/views/controls/button/checkbox.h"
#include "ui/views/view.h"
namespace {
DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE(…);
class ExtensionUninstallDialogViews
: public extensions::ExtensionUninstallDialog { … };
ExtensionUninstallDialogViews::ExtensionUninstallDialogViews(
Profile* profile,
gfx::NativeWindow parent,
extensions::ExtensionUninstallDialog::Delegate* delegate)
: … { … }
ExtensionUninstallDialogViews::~ExtensionUninstallDialogViews() { … }
void ExtensionUninstallDialogViews::Show() { … }
void ExtensionUninstallDialogViews::Close() { … }
void ExtensionUninstallDialogViews::DialogAccepted() { … }
void ExtensionUninstallDialogViews::DialogClosing() { … }
}
std::unique_ptr<extensions::ExtensionUninstallDialog>
extensions::ExtensionUninstallDialog::Create(Profile* profile,
gfx::NativeWindow parent,
Delegate* delegate) { … }