#include "ui/native_theme/test_native_theme.h"
namespace ui {
TestNativeTheme::TestNativeTheme() : … { … }
TestNativeTheme::~TestNativeTheme() = default;
gfx::Size TestNativeTheme::GetPartSize(Part part,
State state,
const ExtraParams& extra) const { … }
void TestNativeTheme::Paint(cc::PaintCanvas* canvas,
const ui::ColorProvider* color_provider,
Part part,
State state,
const gfx::Rect& rect,
const ExtraParams& extra,
ColorScheme color_scheme,
bool in_forced_colors,
const std::optional<SkColor>& accent_color) const { … }
bool TestNativeTheme::SupportsNinePatch(Part part) const { … }
gfx::Size TestNativeTheme::GetNinePatchCanvasSize(Part part) const { … }
gfx::Rect TestNativeTheme::GetNinePatchAperture(Part part) const { … }
bool TestNativeTheme::UserHasContrastPreference() const { … }
bool TestNativeTheme::ShouldUseDarkColors() const { … }
NativeTheme::PreferredColorScheme TestNativeTheme::GetPreferredColorScheme()
const { … }
NativeTheme::ColorScheme TestNativeTheme::GetDefaultSystemColorScheme() const { … }
void TestNativeTheme::AddColorSchemeNativeThemeObserver(
NativeTheme* theme_to_update) { … }
}