#include "chrome/browser/ui/blocked_content/popunder_preventer.h"
#include <set>
#include "base/stl_util.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "content/public/browser/web_contents.h"
#include "extensions/buildflags/buildflags.h"
#if BUILDFLAG(ENABLE_EXTENSIONS)
#include "components/guest_view/browser/guest_view_base.h"
#endif
namespace {
WebContentsSet;
WebContentsSet BuildOpenerSet(content::WebContents* contents) { … }
}
PopunderPreventer::PopunderPreventer(content::WebContents* activating_contents)
: … { … }
PopunderPreventer::~PopunderPreventer() { … }
void PopunderPreventer::WillActivateWebContents(
content::WebContents* activating_contents) { … }
void PopunderPreventer::AddPotentialPopunder(content::WebContents* popup) { … }