#include "chrome/browser/ui/blocked_content/blocked_window_params.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser_navigator_params.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
#include "third_party/blink/public/mojom/window_features/window_features.mojom.h"
#include "url/gurl.h"
BlockedWindowParams::BlockedWindowParams(
const GURL& target_url,
const url::Origin& initiator_origin,
content::SiteInstance* source_site_instance,
const content::Referrer& referrer,
const std::string& frame_name,
WindowOpenDisposition disposition,
const blink::mojom::WindowFeatures& features,
bool user_gesture,
bool opener_suppressed)
: … { … }
BlockedWindowParams::BlockedWindowParams(const BlockedWindowParams& other) =
default;
BlockedWindowParams::~BlockedWindowParams() = default;
NavigateParams BlockedWindowParams::CreateNavigateParams(
content::RenderProcessHost* opener_process,
content::WebContents* web_contents) const { … }