#include "base/files/file_util.h"
#include "base/path_service.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "cc/test/pixel_comparator.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/common/content_paths.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/public/test/test_utils.h"
#include "content/shell/browser/shell.h"
#include "gpu/config/gpu_finch_features.h"
#include "ui/base/ui_base_features.h"
#include "ui/base/ui_base_switches.h"
#if BUILDFLAG(IS_ANDROID)
#include "base/android/build_info.h"
#endif
namespace content {
class FormControlsBrowserTest : public ContentBrowserTest { … };
#if BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_X86)
#define MAYBE_Checkbox …
#else
#define MAYBE_Checkbox …
#endif
IN_PROC_BROWSER_TEST_F(FormControlsBrowserTest, MAYBE_Checkbox) { … }
IN_PROC_BROWSER_TEST_F(FormControlsBrowserTest, Radio) { … }
#if BUILDFLAG(IS_MAC)
#define MAYBE_DarkModeTextSelection …
#else
#define MAYBE_DarkModeTextSelection …
#endif
IN_PROC_BROWSER_TEST_F(FormControlsBrowserTest, MAYBE_DarkModeTextSelection) { … }
IN_PROC_BROWSER_TEST_F(FormControlsBrowserTest, Input) { … }
#if (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS))
#define MAYBE_Textarea …
#else
#define MAYBE_Textarea …
#endif
IN_PROC_BROWSER_TEST_F(FormControlsBrowserTest, MAYBE_Textarea) { … }
IN_PROC_BROWSER_TEST_F(FormControlsBrowserTest, Button) { … }
#if BUILDFLAG(IS_ANDROID)
#define MAYBE_ColorInput …
#else
#define MAYBE_ColorInput …
#endif
IN_PROC_BROWSER_TEST_F(FormControlsBrowserTest, MAYBE_ColorInput) { … }
IN_PROC_BROWSER_TEST_F(FormControlsBrowserTest, Select) { … }
IN_PROC_BROWSER_TEST_F(FormControlsBrowserTest, MultiSelect) { … }
IN_PROC_BROWSER_TEST_F(FormControlsBrowserTest, Progress) { … }
IN_PROC_BROWSER_TEST_F(FormControlsBrowserTest, Meter) { … }
IN_PROC_BROWSER_TEST_F(FormControlsBrowserTest, Range) { … }
}