#include "chrome/test/views/chrome_views_test_base.h"
#include <memory>
#include "build/chromeos_buildflags.h"
#include "chrome/browser/ui/color/chrome_color_mixers.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/webui/top_chrome/webui_contents_preload_manager.h"
#include "chrome/test/views/chrome_test_widget.h"
#include "components/color/color_mixers.h"
#include "content/public/test/browser_task_environment.h"
#include "ui/color/color_provider_manager.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "ash/test/ash_test_helper.h"
#include "ui/views/test/views_test_helper_aura.h"
#endif
namespace {
#if BUILDFLAG(IS_CHROMEOS_ASH)
std::unique_ptr<aura::test::AuraTestHelper> MakeTestHelper() {
return std::make_unique<ash::AshTestHelper>();
}
#endif
}
ChromeViewsTestBase::ChromeViewsTestBase()
: … { … }
ChromeViewsTestBase::~ChromeViewsTestBase() = default;
void ChromeViewsTestBase::SetUp() { … }
void ChromeViewsTestBase::TearDown() { … }
std::unique_ptr<views::Widget> ChromeViewsTestBase::AllocateTestWidget() { … }