#include "third_party/blink/renderer/core/style/style_mask_source_image.h"
#include "third_party/blink/renderer/core/css/css_image_value.h"
#include "third_party/blink/renderer/core/layout/svg/layout_svg_resource_masker.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/core/style/style_fetched_image.h"
#include "third_party/blink/renderer/core/svg/svg_resource.h"
#include "third_party/blink/renderer/platform/graphics/image.h"
namespace blink {
StyleMaskSourceImage::StyleMaskSourceImage(StyleFetchedImage* image,
SVGResource* resource,
CSSImageValue* resource_css_value)
: … { … }
StyleMaskSourceImage::StyleMaskSourceImage(SVGResource* resource,
CSSImageValue* resource_css_value)
: … { … }
StyleMaskSourceImage::~StyleMaskSourceImage() = default;
CSSValue* StyleMaskSourceImage::CssValue() const { … }
CSSValue* StyleMaskSourceImage::ComputedCSSValue(
const ComputedStyle& style,
bool allow_visited_style,
CSSValuePhase value_phase) const { … }
bool StyleMaskSourceImage::CanRender() const { … }
bool StyleMaskSourceImage::IsLoaded() const { … }
bool StyleMaskSourceImage::IsLoading() const { … }
bool StyleMaskSourceImage::ErrorOccurred() const { … }
bool StyleMaskSourceImage::IsAccessAllowed(String& failing_url) const { … }
IntrinsicSizingInfo StyleMaskSourceImage::GetNaturalSizingInfo(
float multiplier,
RespectImageOrientationEnum respect_orientation) const { … }
gfx::SizeF StyleMaskSourceImage::ImageSize(
float multiplier,
const gfx::SizeF& default_object_size,
RespectImageOrientationEnum respect_orientation) const { … }
bool StyleMaskSourceImage::HasIntrinsicSize() const { … }
SVGResource* StyleMaskSourceImage::GetSVGResource() const { … }
SVGResourceClient* StyleMaskSourceImage::GetSVGResourceClient(
const ImageResourceObserver& observer) const { … }
void StyleMaskSourceImage::AddClient(ImageResourceObserver* observer) { … }
void StyleMaskSourceImage::RemoveClient(ImageResourceObserver* observer) { … }
scoped_refptr<Image> StyleMaskSourceImage::GetImage(
const ImageResourceObserver& observer,
const Document& document,
const ComputedStyle& style,
const gfx::SizeF& target_size) const { … }
float StyleMaskSourceImage::ImageScaleFactor() const { … }
WrappedImagePtr StyleMaskSourceImage::Data() const { … }
bool StyleMaskSourceImage::KnownToBeOpaque(const Document& document,
const ComputedStyle& style) const { … }
ImageResourceContent* StyleMaskSourceImage::CachedImage() const { … }
bool StyleMaskSourceImage::HasSVGMask() const { … }
bool StyleMaskSourceImage::IsEqual(const StyleImage& other) const { … }
void StyleMaskSourceImage::Trace(Visitor* visitor) const { … }
}