chromium/third_party/blink/renderer/core/layout/layout_image_resource.cc

/*
 * Copyright (C) 1999 Lars Knoll <[email protected]>
 * Copyright (C) 1999 Antti Koivisto <[email protected]>
 * Copyright (C) 2000 Dirk Mueller <[email protected]>
 * Copyright (C) 2006 Allan Sandfeld Jensen <[email protected]>
 * Copyright (C) 2006 Samuel Weinig <[email protected]>
 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc.
 *               All rights reserved.
 * Copyright (C) 2010 Google Inc. All rights reserved.
 * Copyright (C) 2010 Patrick Gansterer <[email protected]>
 *
 * 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/layout/layout_image_resource.h"

#include "third_party/blink/public/resources/grit/blink_image_resources.h"
#include "third_party/blink/renderer/core/css/style_engine.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/layout/intrinsic_sizing_info.h"
#include "third_party/blink/renderer/core/layout/layout_image.h"
#include "third_party/blink/renderer/core/svg/graphics/svg_image_for_container.h"
#include "ui/base/resource/resource_scale_factor.h"

namespace blink {

namespace {

gfx::SizeF ApplyClampedZoom(gfx::SizeF size, float multiplier) {}

}  // namespace

LayoutImageResource::LayoutImageResource()
    :{}

LayoutImageResource::~LayoutImageResource() = default;

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

void LayoutImageResource::Initialize(LayoutObject* layout_object) {}

void LayoutImageResource::Shutdown() {}

void LayoutImageResource::SetImageResource(ImageResourceContent* new_image) {}

ResourcePriority LayoutImageResource::ComputeResourcePriority() const {}

void LayoutImageResource::ResetAnimation() {}

bool LayoutImageResource::HasIntrinsicSize() const {}

RespectImageOrientationEnum LayoutImageResource::ImageOrientation() const {}

IntrinsicSizingInfo LayoutImageResource::GetNaturalDimensions(
    float multiplier) const {}

gfx::SizeF LayoutImageResource::ImageSize(float multiplier) const {}

gfx::SizeF LayoutImageResource::ConcreteObjectSize(
    float multiplier,
    const gfx::SizeF& default_object_size) const {}

Image* LayoutImageResource::BrokenImage(double device_pixel_ratio) {}

double LayoutImageResource::DevicePixelRatio() const {}

void LayoutImageResource::UseBrokenImage() {}

scoped_refptr<Image> LayoutImageResource::GetImage(
    const gfx::Size& container_size) const {}

scoped_refptr<Image> LayoutImageResource::GetImage(
    const gfx::SizeF& container_size) const {}

bool LayoutImageResource::MaybeAnimated() const {}

}  // namespace blink