chromium/third_party/blink/renderer/core/css/css_value_id_mappings.h

// 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.

#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_VALUE_ID_MAPPINGS_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_VALUE_ID_MAPPINGS_H_

#include "base/notreached.h"
#include "third_party/blink/renderer/core/animation/effect_model.h"
#include "third_party/blink/renderer/core/css/css_value_id_mappings_generated.h"
#include "third_party/blink/renderer/core/style/computed_style_constants.h"

namespace blink {

template <class T>
T CssValueIDToPlatformEnum(CSSValueID v) {}

template <class T>
inline CSSValueID PlatformEnumToCSSValueID(T v) {}

template <>
inline UnicodeBidi CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline EBoxOrient CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline ETextCombine CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline ETextAlign CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline CSSValueID PlatformEnumToCSSValueID(EffectModel::CompositeOperation v) {}

template <>
inline EffectModel::CompositeOperation CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline ETextOrientation CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline EResize CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline WritingMode CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline ECursor CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline EDisplay CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline EUserSelect CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline CSSValueID PlatformEnumToCSSValueID(EDisplay v) {}

template <>
inline PageOrientation CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline ScrollbarGutter CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline EWhiteSpace CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline CSSValueID PlatformEnumToCSSValueID(EWhiteSpace v) {}

template <>
inline WhiteSpaceCollapse CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline CSSValueID PlatformEnumToCSSValueID(WhiteSpaceCollapse v) {}

template <>
inline TextBoxEdge::Type CssValueIDToPlatformEnum(CSSValueID id) {}

template <>
inline CSSValueID PlatformEnumToCSSValueID(TextBoxEdge::Type type) {}

template <>
inline TextSpacingTrim CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline CSSValueID PlatformEnumToCSSValueID(TextSpacingTrim v) {}

template <>
inline TryTactic CssValueIDToPlatformEnum(CSSValueID v) {}

template <>
inline CSSValueID PlatformEnumToCSSValueID(TryTactic v) {}

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_VALUE_ID_MAPPINGS_H_