chromium/third_party/blink/renderer/core/layout/svg/svg_content_container.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/layout/svg/svg_content_container.h"

#include "third_party/blink/renderer/core/layout/svg/layout_svg_container.h"
#include "third_party/blink/renderer/core/layout/svg/layout_svg_foreign_object.h"
#include "third_party/blink/renderer/core/layout/svg/layout_svg_image.h"
#include "third_party/blink/renderer/core/layout/svg/layout_svg_resource_marker.h"
#include "third_party/blink/renderer/core/layout/svg/layout_svg_shape.h"
#include "third_party/blink/renderer/core/layout/svg/layout_svg_text.h"
#include "third_party/blink/renderer/core/layout/svg/layout_svg_transformable_container.h"
#include "third_party/blink/renderer/core/layout/svg/svg_layout_info.h"
#include "third_party/blink/renderer/core/layout/svg/svg_layout_support.h"
#include "third_party/blink/renderer/core/layout/svg/svg_resources.h"

namespace blink {

namespace {

void UpdateSVGLayoutIfNeeded(LayoutObject* child,
                             const SVGLayoutInfo& layout_info) {}

void LayoutMarkerResourcesIfNeeded(LayoutObject& layout_object,
                                   const SVGLayoutInfo& layout_info) {}

// Update a bounding box taking into account the validity of the other bounding
// box.
inline void UpdateObjectBoundingBox(gfx::RectF& object_bounding_box,
                                    bool& object_bounding_box_valid,
                                    const gfx::RectF& other_bounding_box) {}

bool HasValidBoundingBoxForContainer(const LayoutObject& object) {}

gfx::RectF ObjectBoundsForPropagation(const LayoutObject& object) {}

}  // namespace

// static
bool SVGContentContainer::IsChildAllowed(const LayoutObject& child) {}

SVGLayoutResult SVGContentContainer::Layout(const SVGLayoutInfo& layout_info) {}

bool SVGContentContainer::HitTest(HitTestResult& result,
                                  const HitTestLocation& location,
                                  HitTestPhase phase) const {}

bool SVGContentContainer::UpdateBoundingBoxes() {}

bool SVGContentContainer::ComputeHasNonIsolatedBlendingDescendants() const {}

gfx::RectF SVGContentContainer::ComputeStrokeBoundingBox() const {}

}  // namespace blink