#include "chrome/browser/extensions/extension_install_prompt_show_params.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/web_contents.h"
#include "ui/views/native_window_tracker.h"
#if defined(USE_AURA)
#include "ui/aura/window.h"
#endif
namespace {
#if defined(USE_AURA)
bool g_root_checking_enabled = …;
#endif
bool RootCheck(gfx::NativeWindow window) { … }
}
ExtensionInstallPromptShowParams::ExtensionInstallPromptShowParams(
content::WebContents* contents)
: … { … }
ExtensionInstallPromptShowParams::ExtensionInstallPromptShowParams(
Profile* profile,
gfx::NativeWindow parent_window)
: … { … }
ExtensionInstallPromptShowParams::~ExtensionInstallPromptShowParams() = default;
content::WebContents* ExtensionInstallPromptShowParams::GetParentWebContents() { … }
gfx::NativeWindow ExtensionInstallPromptShowParams::GetParentWindow() { … }
bool ExtensionInstallPromptShowParams::WasParentDestroyed() { … }
bool ExtensionInstallPromptShowParams::WasConfiguredForWebContents() { … }
namespace test {
ScopedDisableRootChecking::ScopedDisableRootChecking() { … }
ScopedDisableRootChecking::~ScopedDisableRootChecking() { … }
}