chromium/chrome/test/data/webui/privacy_sandbox/privacy_sandbox_dialog_browsertest.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

// TODO(crbug.com/40912855): Re-enable the test.
#if BUILDFLAG(IS_CHROMEOS)
#define MAYBE_Combined
#else
#define MAYBE_Combined
#endif
IN_PROC_BROWSER_TEST_F(PrivacySandboxDialogBigWindowTest, MAYBE_Combined) {}

// TODO(crbug.com/40912855): Re-enable the test.
#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) {}