chromium/third_party/blink/renderer/core/css/properties/css_direction_aware_resolver.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/core/css/properties/css_direction_aware_resolver.h"

#include "third_party/blink/renderer/core/css/properties/longhands.h"
#include "third_party/blink/renderer/core/css/properties/shorthands.h"
#include "third_party/blink/renderer/core/style_property_shorthand.h"
#include "third_party/blink/renderer/platform/text/writing_direction_mode.h"
#include "third_party/blink/renderer/platform/wtf/assertions.h"

namespace blink {
namespace  // namespace

template <size_t size>
CSSDirectionAwareResolver::Group<size>::Group(
    const StylePropertyShorthand& shorthand)
    :{}

template <size_t size>
CSSDirectionAwareResolver::Group<size>::Group(
    const CSSProperty* (&properties)[size])
    :{}

template <size_t size>
const CSSProperty& CSSDirectionAwareResolver::Group<size>::GetProperty(
    size_t index) const {}

template <size_t size>
bool CSSDirectionAwareResolver::Group<size>::Contains(CSSPropertyID id) const {}

template class CSSDirectionAwareResolver::Group<2ul>;
template class CSSDirectionAwareResolver::Group<4ul>;

LogicalMapping<4> CSSDirectionAwareResolver::LogicalBorderMapping() {}

PhysicalMapping<4> CSSDirectionAwareResolver::PhysicalBorderMapping() {}

LogicalMapping<4> CSSDirectionAwareResolver::LogicalBorderColorMapping() {}

PhysicalMapping<4> CSSDirectionAwareResolver::PhysicalBorderColorMapping() {}

LogicalMapping<4> CSSDirectionAwareResolver::LogicalBorderStyleMapping() {}

PhysicalMapping<4> CSSDirectionAwareResolver::PhysicalBorderStyleMapping() {}

LogicalMapping<4> CSSDirectionAwareResolver::LogicalBorderWidthMapping() {}

PhysicalMapping<2>
CSSDirectionAwareResolver::PhysicalContainIntrinsicSizeMapping() {}

LogicalMapping<4> CSSDirectionAwareResolver::LogicalBorderRadiusMapping() {}

PhysicalMapping<4> CSSDirectionAwareResolver::PhysicalBorderRadiusMapping() {}

PhysicalMapping<4> CSSDirectionAwareResolver::PhysicalBorderWidthMapping() {}

LogicalMapping<4> CSSDirectionAwareResolver::LogicalInsetMapping() {}

PhysicalMapping<4> CSSDirectionAwareResolver::PhysicalInsetMapping() {}

LogicalMapping<4> CSSDirectionAwareResolver::LogicalMarginMapping() {}

PhysicalMapping<4> CSSDirectionAwareResolver::PhysicalMarginMapping() {}

LogicalMapping<2> CSSDirectionAwareResolver::LogicalMaxSizeMapping() {}

PhysicalMapping<2> CSSDirectionAwareResolver::PhysicalMaxSizeMapping() {}

LogicalMapping<2> CSSDirectionAwareResolver::LogicalMinSizeMapping() {}

PhysicalMapping<2> CSSDirectionAwareResolver::PhysicalMinSizeMapping() {}

LogicalMapping<2> CSSDirectionAwareResolver::LogicalOverflowMapping() {}

PhysicalMapping<2> CSSDirectionAwareResolver::PhysicalOverflowMapping() {}

LogicalMapping<2>
CSSDirectionAwareResolver::LogicalOverscrollBehaviorMapping() {}

PhysicalMapping<2>
CSSDirectionAwareResolver::PhysicalOverscrollBehaviorMapping() {}

LogicalMapping<4> CSSDirectionAwareResolver::LogicalPaddingMapping() {}

PhysicalMapping<4> CSSDirectionAwareResolver::PhysicalPaddingMapping() {}

LogicalMapping<4> CSSDirectionAwareResolver::LogicalScrollMarginMapping() {}

PhysicalMapping<4> CSSDirectionAwareResolver::PhysicalScrollMarginMapping() {}

LogicalMapping<4> CSSDirectionAwareResolver::LogicalScrollPaddingMapping() {}

PhysicalMapping<4> CSSDirectionAwareResolver::PhysicalScrollPaddingMapping() {}

LogicalMapping<2> CSSDirectionAwareResolver::LogicalScrollStartMapping() {}

PhysicalMapping<2> CSSDirectionAwareResolver::PhysicalScrollStartMapping() {}

LogicalMapping<2> CSSDirectionAwareResolver::LogicalScrollStartTargetMapping() {}

PhysicalMapping<2>
CSSDirectionAwareResolver::PhysicalScrollStartTargetMapping() {}

LogicalMapping<2> CSSDirectionAwareResolver::LogicalSizeMapping() {}

PhysicalMapping<2> CSSDirectionAwareResolver::PhysicalSizeMapping() {}

LogicalMapping<4>
CSSDirectionAwareResolver::LogicalVisitedBorderColorMapping() {}

PhysicalMapping<4>
CSSDirectionAwareResolver::PhysicalVisitedBorderColorMapping() {}

const CSSProperty& CSSDirectionAwareResolver::ResolveInlineStart(
    WritingDirectionMode writing_direction,
    const PhysicalMapping<4>& group) {}

const CSSProperty& CSSDirectionAwareResolver::ResolveInlineEnd(
    WritingDirectionMode writing_direction,
    const PhysicalMapping<4>& group) {}

const CSSProperty& CSSDirectionAwareResolver::ResolveBlockStart(
    WritingDirectionMode writing_direction,
    const PhysicalMapping<4>& group) {}

const CSSProperty& CSSDirectionAwareResolver::ResolveBlockEnd(
    WritingDirectionMode writing_direction,
    const PhysicalMapping<4>& group) {}

const CSSProperty& CSSDirectionAwareResolver::ResolveInline(
    WritingDirectionMode writing_direction,
    const PhysicalMapping<2>& group) {}

const CSSProperty& CSSDirectionAwareResolver::ResolveBlock(
    WritingDirectionMode writing_direction,
    const PhysicalMapping<2>& group) {}

const CSSProperty& CSSDirectionAwareResolver::ResolveStartStart(
    WritingDirectionMode writing_direction,
    const PhysicalMapping<4>& group) {}

const CSSProperty& CSSDirectionAwareResolver::ResolveStartEnd(
    WritingDirectionMode writing_direction,
    const PhysicalMapping<4>& group) {}

const CSSProperty& CSSDirectionAwareResolver::ResolveEndStart(
    WritingDirectionMode writing_direction,
    const PhysicalMapping<4>& group) {}

const CSSProperty& CSSDirectionAwareResolver::ResolveEndEnd(
    WritingDirectionMode writing_direction,
    const PhysicalMapping<4>& group) {}

}  // namespace blink