#include "base/command_line.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_delegate.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/test_navigation_observer.h"
#include "content/shell/browser/shell.h"
#include "net/dns/mock_host_resolver.h"
#include "url/gurl.h"
namespace content {
namespace {
class CloseTrackingDelegate : public WebContentsDelegate { … };
}
class OpenedByDOMTest : public ContentBrowserTest { … };
IN_PROC_BROWSER_TEST_F(OpenedByDOMTest, NormalWindow) { … }
IN_PROC_BROWSER_TEST_F(OpenedByDOMTest, Popup) { … }
IN_PROC_BROWSER_TEST_F(OpenedByDOMTest, NoOpenerPopup) { … }
IN_PROC_BROWSER_TEST_F(OpenedByDOMTest, CrossProcessPopup) { … }
}