#include "ui/views/cascading_property.h"
#include "ui/base/theme_provider.h"
#include "ui/base/ui_base_features.h"
#include "ui/color/color_id.h"
#include "ui/color/color_provider.h"
#include "ui/gfx/color_utils.h"
DEFINE_EXPORTED_UI_CLASS_PROPERTY_TYPE(…)
namespace views {
namespace {
class CascadingColorProviderColor final : public CascadingProperty<SkColor> { … };
}
DEFINE_OWNED_UI_CLASS_PROPERTY_KEY(…)
void SetCascadingColorProviderColor(
views::View* view,
const ui::ClassProperty<CascadingProperty<SkColor>*>* property_key,
ui::ColorId color_id) { … }
SkColor GetCascadingBackgroundColor(View* view) { … }
SkColor GetCascadingAccentColor(View* view) { … }
}