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

// Copyright 2017 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/layout_input_node.h"

#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/html/forms/html_input_element.h"
#include "third_party/blink/renderer/core/html/shadow/shadow_element_utils.h"
#include "third_party/blink/renderer/core/input_type_names.h"
#include "third_party/blink/renderer/core/layout/block_node.h"
#include "third_party/blink/renderer/core/layout/geometry/logical_size.h"
#include "third_party/blink/renderer/core/layout/inline/inline_node.h"
#include "third_party/blink/renderer/core/layout/intrinsic_sizing_info.h"
#include "third_party/blink/renderer/core/layout/layout_replaced.h"
#include "third_party/blink/renderer/core/layout/layout_result.h"
#include "third_party/blink/renderer/core/layout/layout_view.h"
#include "third_party/blink/renderer/core/layout/list/layout_list_item.h"
#include "third_party/blink/renderer/core/layout/min_max_sizes.h"
#include "third_party/blink/renderer/core/layout/table/layout_table_cell.h"
#include "third_party/blink/renderer/core/layout/table/layout_table_column.h"
#include "third_party/blink/renderer/core/layout/table/layout_table_section.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"

namespace blink {

FormControlType;

namespace {

#if DCHECK_IS_ON()
void AppendSubtreeToString(const BlockNode&,
                           const LayoutInputNode* target,
                           StringBuilder*,
                           unsigned indent);

void IndentForDump(const LayoutInputNode& node,
                   const LayoutInputNode* target,
                   StringBuilder* string_builder,
                   unsigned indent) {}

void AppendNodeToString(const LayoutInputNode& node,
                        const LayoutInputNode* target,
                        StringBuilder* string_builder,
                        unsigned indent = 2) {}

void AppendSubtreeToString(const BlockNode& node,
                           const LayoutInputNode* target,
                           StringBuilder* string_builder,
                           unsigned indent) {}
#endif

}  // namespace

bool LayoutInputNode::IsSlider() const {}

bool LayoutInputNode::IsSliderThumb() const {}

bool LayoutInputNode::IsSvgText() const {}

bool LayoutInputNode::IsEmptyTableSection() const {}

wtf_size_t LayoutInputNode::TableColumnSpan() const {}

wtf_size_t LayoutInputNode::TableCellColspan() const {}

wtf_size_t LayoutInputNode::TableCellRowspan() const {}

bool LayoutInputNode::IsTextControlPlaceholder() const {}

bool LayoutInputNode::IsPaginatedRoot() const {}

BlockNode LayoutInputNode::ListMarkerBlockNodeIfListItem() const {}

void LayoutInputNode::IntrinsicSize(
    std::optional<LayoutUnit>* computed_inline_size,
    std::optional<LayoutUnit>* computed_block_size) const {}

LayoutInputNode LayoutInputNode::NextSibling() const {}

PhysicalSize LayoutInputNode::InitialContainingBlockSize() const {}

String LayoutInputNode::ToString() const {}

#if DCHECK_IS_ON()
String LayoutInputNode::DumpNodeTree(const LayoutInputNode* target) const {}

String LayoutInputNode::DumpNodeTreeFromRoot() const {}

void LayoutInputNode::ShowNodeTree(const LayoutInputNode* target) const {}

void LayoutInputNode::ShowNodeTreeFromRoot() const {}
#endif

void LayoutInputNode::GetOverrideIntrinsicSize(
    std::optional<LayoutUnit>* computed_inline_size,
    std::optional<LayoutUnit>* computed_block_size) const {}

}  // namespace blink

#if DCHECK_IS_ON()

CORE_EXPORT void ShowLayoutTree(const blink::LayoutInputNode& node) {}

#endif  // DCHECK_IS_ON()