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

/*
 * Copyright (C) 2012 Apple Inc.  All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#include "third_party/blink/renderer/core/layout/layout_multi_column_set.h"

#include "third_party/blink/renderer/core/css/resolver/style_resolver.h"
#include "third_party/blink/renderer/core/editing/position_with_affinity.h"
#include "third_party/blink/renderer/core/layout/fragmentation_utils.h"
#include "third_party/blink/renderer/core/layout/geometry/box_strut.h"
#include "third_party/blink/renderer/core/layout/layout_multi_column_flow_thread.h"
#include "third_party/blink/renderer/core/layout/layout_multi_column_spanner_placeholder.h"
#include "third_party/blink/renderer/core/layout/multi_column_fragmentainer_group.h"
#include "third_party/blink/renderer/core/layout/physical_box_fragment.h"
#include "third_party/blink/renderer/core/paint/paint_layer.h"

namespace blink {

namespace {

// A helper class to access all child fragments of all fragments of a single
// multi-column container. This class ignores repeated fragments.
class ChildFragmentIterator {};

LayoutPoint ComputeLocation(const PhysicalBoxFragment& column_box,
                            PhysicalOffset column_offset,
                            LayoutUnit set_inline_size,
                            const LayoutBlockFlow& container,
                            wtf_size_t fragment_index,
                            const PhysicalBoxStrut& border_padding_scrollbar) {}

}  // namespace

LayoutMultiColumnSet::LayoutMultiColumnSet(LayoutFlowThread* flow_thread)
    :{}

LayoutMultiColumnSet* LayoutMultiColumnSet::CreateAnonymous(
    LayoutFlowThread& flow_thread,
    const ComputedStyle& parent_style) {}

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

bool LayoutMultiColumnSet::IsLayoutNGObject() const {}

unsigned LayoutMultiColumnSet::FragmentainerGroupIndexAtFlowThreadOffset(
    LayoutUnit flow_thread_offset,
    PageBoundaryRule rule) const {}

const MultiColumnFragmentainerGroup&
LayoutMultiColumnSet::FragmentainerGroupAtVisualPoint(
    const LogicalOffset& visual_point) const {}

bool LayoutMultiColumnSet::IsPageLogicalHeightKnown() const {}

LayoutMultiColumnSet* LayoutMultiColumnSet::NextSiblingMultiColumnSet() const {}

LayoutMultiColumnSet* LayoutMultiColumnSet::PreviousSiblingMultiColumnSet()
    const {}

MultiColumnFragmentainerGroup&
LayoutMultiColumnSet::AppendNewFragmentainerGroup() {}

LayoutUnit LayoutMultiColumnSet::LogicalTopInFlowThread() const {}

LayoutUnit LayoutMultiColumnSet::LogicalBottomInFlowThread() const {}

PhysicalOffset LayoutMultiColumnSet::FlowThreadTranslationAtOffset(
    LayoutUnit block_offset,
    PageBoundaryRule rule) const {}

LogicalOffset LayoutMultiColumnSet::VisualPointToFlowThreadPoint(
    const PhysicalOffset& visual_point) const {}

void LayoutMultiColumnSet::ResetColumnHeight() {}

void LayoutMultiColumnSet::StyleDidChange(StyleDifference diff,
                                          const ComputedStyle* old_style) {}

LayoutUnit LayoutMultiColumnSet::ColumnGap() const {}

unsigned LayoutMultiColumnSet::ActualColumnCount() const {}

PhysicalRect LayoutMultiColumnSet::FragmentsBoundingBox(
    const PhysicalRect& bounding_box_in_flow_thread) const {}

void LayoutMultiColumnSet::InsertedIntoTree() {}

void LayoutMultiColumnSet::WillBeRemovedFromTree() {}

LayoutPoint LayoutMultiColumnSet::LocationInternal() const {}

PhysicalSize LayoutMultiColumnSet::Size() const {}

void LayoutMultiColumnSet::UpdateGeometryIfNeeded() const {}

void LayoutMultiColumnSet::UpdateGeometry() {}

void LayoutMultiColumnSet::AttachToFlowThread() {}

void LayoutMultiColumnSet::DetachFromFlowThread() {}

bool LayoutMultiColumnSet::ComputeColumnRuleBounds(
    const PhysicalOffset& paint_offset,
    Vector<PhysicalRect>& column_rule_bounds) const {}

PhysicalRect LayoutMultiColumnSet::LocalVisualRectIgnoringVisibility() const {}

void LayoutMultiColumnSet::SetIsIgnoredByNG() {}

}  // namespace blink