#include "base/strings/stringprintf.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/test/base/web_ui_mocha_browser_test.h"
#include "components/privacy_sandbox/privacy_sandbox_features.h"
#include "content/public/test/browser_test.h"
#include "ui/views/widget/widget.h"
class PrivacySandboxDialogTest : public WebUIMochaBrowserTest { … };
class PrivacySandboxDialogSmallWindowTest : public PrivacySandboxDialogTest { … };
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogSmallWindowTest, Consent) { … }
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogSmallWindowTest, Notice) { … }
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogSmallWindowTest, Combined) { … }
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogSmallWindowTest, NoticeEEA) { … }
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogSmallWindowTest, NoticeROW) { … }
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogSmallWindowTest, NoticeRestricted) { … }
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogSmallWindowTest, Mixin) { … }
class PrivacySandboxDialogBigWindowTest : public PrivacySandboxDialogTest { … };
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogBigWindowTest, Consent) { … }
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogBigWindowTest, Notice) { … }
#if BUILDFLAG(IS_CHROMEOS)
#define MAYBE_Combined …
#else
#define MAYBE_Combined …
#endif
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogBigWindowTest, MAYBE_Combined) { … }
#if BUILDFLAG(IS_CHROMEOS)
#define MAYBE_NoticeEEA …
#else
#define MAYBE_NoticeEEA …
#endif
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogBigWindowTest, MAYBE_NoticeEEA) { … }
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogBigWindowTest, NoticeROW) { … }
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogBigWindowTest, NoticeRestricted) { … }
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogBigWindowTest, Mixin) { … }