#include "base/command_line.h"
#include "base/location.h"
#include "base/strings/string_number_conversions.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "content/browser/renderer_host/frame_tree_node.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/renderer_host/render_view_host_impl.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/site_isolation_policy.h"
#include "content/public/common/content_switches.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/shell/browser/shell.h"
#include "content/test/content_browser_test_utils_internal.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
namespace content {
class PageLifecycleStateManagerBrowserTest : public ContentBrowserTest { … };
IN_PROC_BROWSER_TEST_F(PageLifecycleStateManagerBrowserTest, SetFrozen) { … }
IN_PROC_BROWSER_TEST_F(PageLifecycleStateManagerBrowserTest, SetVisibility) { … }
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_LACROS)
#define MAYBE_CrossProcessIframeHiddenAnFrozen …
#else
#define MAYBE_CrossProcessIframeHiddenAnFrozen …
#endif
IN_PROC_BROWSER_TEST_F(PageLifecycleStateManagerBrowserTest,
MAYBE_CrossProcessIframeHiddenAnFrozen) { … }
IN_PROC_BROWSER_TEST_F(PageLifecycleStateManagerBrowserTest,
CreateIframeInHiddenPage) { … }
IN_PROC_BROWSER_TEST_F(PageLifecycleStateManagerBrowserTest,
CreateNewWindowVisibilityChange) { … }
}