chromium/third_party/blink/renderer/core/style/style_fetched_image.cc

/*
 * Copyright (C) 2000 Lars Knoll ([email protected])
 *           (C) 2000 Antti Koivisto ([email protected])
 *           (C) 2000 Dirk Mueller ([email protected])
 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 *
 */

#include "third_party/blink/renderer/core/style/style_fetched_image.h"

#include "third_party/blink/renderer/core/css/css_image_value.h"
#include "third_party/blink/renderer/core/css/style_engine.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/loader/resource/image_resource_content.h"
#include "third_party/blink/renderer/core/paint/timing/image_element_timing.h"
#include "third_party/blink/renderer/core/paint/timing/paint_timing.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/core/svg/graphics/svg_image_for_container.h"
#include "third_party/blink/renderer/platform/graphics/bitmap_image.h"

namespace blink {

StyleFetchedImage::StyleFetchedImage(ImageResourceContent* image,
                                     const Document& document,
                                     bool is_lazyload_possibly_deferred,
                                     bool origin_clean,
                                     bool is_ad_related,
                                     const KURL& url,
                                     const float override_image_resolution)
    :{}

StyleFetchedImage::~StyleFetchedImage() = default;

void StyleFetchedImage::Prefinalize() {}

bool StyleFetchedImage::IsEqual(const StyleImage& other) const {}

WrappedImagePtr StyleFetchedImage::Data() const {}

float StyleFetchedImage::ImageScaleFactor() const {}

ImageResourceContent* StyleFetchedImage::CachedImage() const {}

CSSValue* StyleFetchedImage::CssValue() const {}

CSSValue* StyleFetchedImage::ComputedCSSValue(const ComputedStyle&,
                                              bool allow_visited_style,
                                              CSSValuePhase value_phase) const {}

bool StyleFetchedImage::CanRender() const {}

bool StyleFetchedImage::IsLoaded() const {}

bool StyleFetchedImage::IsLoading() const {}

bool StyleFetchedImage::ErrorOccurred() const {}

bool StyleFetchedImage::IsAccessAllowed(String& failing_url) const {}

float StyleFetchedImage::ApplyImageResolution(float multiplier) const {}

gfx::SizeF StyleFetchedImage::ImageSize(
    float multiplier,
    const gfx::SizeF& default_object_size,
    RespectImageOrientationEnum respect_orientation) const {}

IntrinsicSizingInfo StyleFetchedImage::GetNaturalSizingInfo(
    float multiplier,
    RespectImageOrientationEnum respect_orientation) const {}

bool StyleFetchedImage::HasIntrinsicSize() const {}

void StyleFetchedImage::AddClient(ImageResourceObserver* observer) {}

void StyleFetchedImage::RemoveClient(ImageResourceObserver* observer) {}

void StyleFetchedImage::ImageNotifyFinished(ImageResourceContent*) {}

scoped_refptr<Image> StyleFetchedImage::GetImage(
    const ImageResourceObserver&,
    const Document& document,
    const ComputedStyle& style,
    const gfx::SizeF& target_size) const {}

bool StyleFetchedImage::KnownToBeOpaque(const Document&,
                                        const ComputedStyle&) const {}

void StyleFetchedImage::LoadDeferredImage(const Document& document) {}

RespectImageOrientationEnum StyleFetchedImage::ForceOrientationIfNecessary(
    RespectImageOrientationEnum default_orientation) const {}

bool StyleFetchedImage::GetImageAnimationPolicy(
    mojom::blink::ImageAnimationPolicy& policy) {}

void StyleFetchedImage::Trace(Visitor* visitor) const {}

}  // namespace blink