#include "cc/paint/paint_worklet_input.h"
namespace cc {
PaintWorkletInput::PropertyKey::PropertyKey(
const std::string& custom_property_name,
ElementId element_id)
: … { … }
PaintWorkletInput::PropertyKey::PropertyKey(
NativePropertyType native_property_type,
ElementId element_id)
: … { … }
PaintWorkletInput::PropertyKey::PropertyKey(const PropertyKey& other) = default;
PaintWorkletInput::PropertyKey::~PropertyKey() = default;
bool PaintWorkletInput::PropertyKey::operator==(
const PropertyKey& other) const { … }
bool PaintWorkletInput::PropertyKey::operator!=(
const PropertyKey& other) const { … }
bool PaintWorkletInput::PropertyKey::operator<(const PropertyKey& other) const { … }
PaintWorkletInput::PropertyValue::PropertyValue() = default;
PaintWorkletInput::PropertyValue::PropertyValue(float value)
: … { … }
PaintWorkletInput::PropertyValue::PropertyValue(SkColor4f value)
: … { … }
PaintWorkletInput::PropertyValue::PropertyValue(const PropertyValue& other) =
default;
PaintWorkletInput::PropertyValue::~PropertyValue() = default;
bool PaintWorkletInput::PropertyValue::has_value() const { … }
void PaintWorkletInput::PropertyValue::reset() { … }
bool PaintWorkletInput::KnownToBeOpaque() const { … }
bool PaintWorkletInput::NeedsLayer() const { … }
bool PaintWorkletInput::ValueChangeShouldCauseRepaint(
const PropertyValue& val1,
const PropertyValue& val2) const { … }
}