#include "third_party/blink/renderer/core/style/style_image_set.h"
#include "base/memory/values_equivalent.h"
#include "third_party/blink/renderer/core/css/css_image_set_option_value.h"
#include "third_party/blink/renderer/core/style/style_image_computed_css_value_builder.h"
namespace blink {
StyleImageSet::StyleImageSet(StyleImage* best_fit_image,
CSSImageSetValue* image_set_value,
bool is_origin_clean)
: … { … }
StyleImageSet::~StyleImageSet() = default;
bool StyleImageSet::IsEqual(const StyleImage& other) const { … }
WrappedImagePtr StyleImageSet::Data() const { … }
ImageResourceContent* StyleImageSet::CachedImage() const { … }
CSSValue* StyleImageSet::CssValue() const { … }
CSSValue* StyleImageSet::ComputedCSSValue(const ComputedStyle& style,
bool allow_visited_style,
CSSValuePhase value_phase) const { … }
bool StyleImageSet::CanRender() const { … }
bool StyleImageSet::IsLoaded() const { … }
bool StyleImageSet::IsLoading() const { … }
bool StyleImageSet::ErrorOccurred() const { … }
bool StyleImageSet::IsAccessAllowed(String& failing_url) const { … }
IntrinsicSizingInfo StyleImageSet::GetNaturalSizingInfo(
float multiplier,
RespectImageOrientationEnum respect_orientation) const { … }
gfx::SizeF StyleImageSet::ImageSize(
float multiplier,
const gfx::SizeF& default_object_size,
RespectImageOrientationEnum respect_orientation) const { … }
bool StyleImageSet::HasIntrinsicSize() const { … }
void StyleImageSet::AddClient(ImageResourceObserver* observer) { … }
void StyleImageSet::RemoveClient(ImageResourceObserver* observer) { … }
scoped_refptr<Image> StyleImageSet::GetImage(
const ImageResourceObserver& image_resource_observer,
const Document& document,
const ComputedStyle& style,
const gfx::SizeF& target_size) const { … }
float StyleImageSet::ImageScaleFactor() const { … }
bool StyleImageSet::KnownToBeOpaque(const Document& document,
const ComputedStyle& computed_style) const { … }
RespectImageOrientationEnum StyleImageSet::ForceOrientationIfNecessary(
RespectImageOrientationEnum default_orientation) const { … }
void StyleImageSet::Trace(Visitor* visitor) const { … }
}