#include "third_party/blink/renderer/core/style/style_generated_image.h"
#include "third_party/blink/renderer/core/css/css_gradient_value.h"
#include "third_party/blink/renderer/core/css/css_image_generator_value.h"
#include "third_party/blink/renderer/core/css/css_paint_value.h"
#include "third_party/blink/renderer/platform/graphics/image.h"
#include "ui/gfx/geometry/size_f.h"
namespace blink {
StyleGeneratedImage::StyleGeneratedImage(const CSSImageGeneratorValue& value,
const ContainerSizes& container_sizes)
: … { … }
bool StyleGeneratedImage::IsEqual(const StyleImage& other) const { … }
CSSValue* StyleGeneratedImage::CssValue() const { … }
CSSValue* StyleGeneratedImage::ComputedCSSValue(
const ComputedStyle& style,
bool allow_visited_style,
CSSValuePhase value_phase) const { … }
IntrinsicSizingInfo StyleGeneratedImage::GetNaturalSizingInfo(
float multiplier,
RespectImageOrientationEnum respect_orientation) const { … }
gfx::SizeF StyleGeneratedImage::ImageSize(float multiplier,
const gfx::SizeF& default_object_size,
RespectImageOrientationEnum) const { … }
void StyleGeneratedImage::AddClient(ImageResourceObserver* observer) { … }
void StyleGeneratedImage::RemoveClient(ImageResourceObserver* observer) { … }
bool StyleGeneratedImage::IsUsingCustomProperty(
const AtomicString& custom_property_name,
const Document& document) const { … }
bool StyleGeneratedImage::IsUsingCurrentColor() const { … }
scoped_refptr<Image> StyleGeneratedImage::GetImage(
const ImageResourceObserver& observer,
const Document& document,
const ComputedStyle& style,
const gfx::SizeF& target_size) const { … }
bool StyleGeneratedImage::KnownToBeOpaque(const Document& document,
const ComputedStyle& style) const { … }
void StyleGeneratedImage::Trace(Visitor* visitor) const { … }
}