#include "third_party/blink/renderer/platform/theme/web_theme_engine_helper.h"
#include "build/build_config.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"
#if BUILDFLAG(IS_ANDROID)
#include "third_party/blink/renderer/platform/theme/web_theme_engine_android.h"
#elif BUILDFLAG(IS_MAC)
#include "third_party/blink/renderer/platform/theme/web_theme_engine_mac.h"
#else
#include "third_party/blink/renderer/platform/theme/web_theme_engine_default.h"
#endif
namespace blink {
namespace {
std::unique_ptr<WebThemeEngine> CreateWebThemeEngine() { … }
std::unique_ptr<WebThemeEngine>& ThemeEngine() { … }
}
WebThemeEngine* WebThemeEngineHelper::GetNativeThemeEngine() { … }
std::unique_ptr<WebThemeEngine>
WebThemeEngineHelper::SwapNativeThemeEngineForTesting(
std::unique_ptr<WebThemeEngine> new_theme) { … }
void WebThemeEngineHelper::DidUpdateRendererPreferences(
const blink::RendererPreferences& renderer_prefs) { … }
const WebThemeEngine::ScrollbarStyle&
WebThemeEngineHelper::AndroidScrollbarStyle() { … }
}