#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#include "content/browser/permissions/permission_controller_impl.h"
#include "content/browser/screen_details/screen_details_test_utils.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_utils.h"
#include "content/shell/browser/shell.h"
#include "third_party/blink/public/common/permissions/permission_utils.h"
#include "ui/display/screen_base.h"
namespace content {
ScreenDetailsTest;
IN_PROC_BROWSER_TEST_F(ScreenDetailsTest, GetScreensNoPermission) { … }
IN_PROC_BROWSER_TEST_F(ScreenDetailsTest, DISABLED_GetScreensBasic) { … }
IN_PROC_BROWSER_TEST_F(ScreenDetailsTest, IsExtendedBasic) { … }
class FakeScreenDetailsTest : public ScreenDetailsTest { … };
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_WIN)
#define MAYBE_GetScreensFaked …
#else
#define MAYBE_GetScreensFaked …
#endif
IN_PROC_BROWSER_TEST_F(FakeScreenDetailsTest, MAYBE_GetScreensFaked) { … }
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_WIN)
#define MAYBE_IsExtendedFaked …
#else
#define MAYBE_IsExtendedFaked …
#endif
IN_PROC_BROWSER_TEST_F(FakeScreenDetailsTest, MAYBE_IsExtendedFaked) { … }
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_WIN)
#define MAYBE_ScreenOnchangeNoPermission …
#else
#define MAYBE_ScreenOnchangeNoPermission …
#endif
IN_PROC_BROWSER_TEST_F(FakeScreenDetailsTest,
MAYBE_ScreenOnchangeNoPermission) { … }
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_WIN)
#define MAYBE_ScreenOnChangeForIsExtended …
#else
#define MAYBE_ScreenOnChangeForIsExtended …
#endif
IN_PROC_BROWSER_TEST_F(FakeScreenDetailsTest,
MAYBE_ScreenOnChangeForIsExtended) { … }
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_WIN)
#define MAYBE_ScreenOnChangeForAttributes …
#else
#define MAYBE_ScreenOnChangeForAttributes …
#endif
IN_PROC_BROWSER_TEST_F(FakeScreenDetailsTest,
MAYBE_ScreenOnChangeForAttributes) { … }
}