chromium/out/Default/gen/third_party/blink/renderer/core/css/css_property_names.h

// Copyright 2014 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_PROPERTY_NAMES_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_PROPERTY_NAMES_H_

#include <stddef.h>

#include "base/check_op.h"
#include "third_party/blink/public/mojom/use_counter/metrics/css_property_id.mojom-blink-forward.h"
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
#include "third_party/blink/renderer/platform/wtf/hash_functions.h"
#include "third_party/blink/renderer/platform/wtf/hash_traits.h"

namespace WTF {
class AtomicString;
class String;
}  // namespace WTF

namespace blink {

class ExecutionContext;

enum class CSSPropertyID {};

const CSSPropertyID kCSSPropertyAliasList[] =;

const CSSPropertyID kCSSComputableProperties[] =;

// The lowest CSSPropertyID excluding kInvalid and kVariable.
const int kIntFirstCSSProperty =;
const CSSPropertyID kFirstCSSProperty =;

// The number of unresolved CSS properties excluding kInvalid and kVariable.
const int kNumCSSProperties =;

// The highest resolved CSSPropertyID.
const int kIntLastCSSProperty =;
const CSSPropertyID kLastCSSProperty =;

// The highest unresolved CSSPropertyID.
const CSSPropertyID kLastUnresolvedCSSProperty =;

const CSSPropertyID kFirstHighPriorityCSSProperty =;
const CSSPropertyID kLastHighPriorityCSSProperty =;

// 1 + <The highest unresolved CSSPropertyID>.
const int kNumCSSPropertyIDs =;

const size_t kMaxCSSPropertyNameLength =;
constexpr size_t kCSSPropertyIDBitLength =;
constexpr size_t kMaxShorthandExpansion =;

static_assert;

// These are basically just change-detector tests, so that we do not
// accidentally add new high-priority properties or break the code generator.
static_assert;
static_assert;
static_assert;

inline int GetCSSPropertyIDIndex(CSSPropertyID id) {}

constexpr bool IsHighPriority(CSSPropertyID id) {}

inline bool IsCSSPropertyIDWithName(CSSPropertyID id)
{}

inline bool IsValidCSSPropertyID(CSSPropertyID id)
{}

inline CSSPropertyID ConvertToCSSPropertyID(int value)
{}

int CORE_EXPORT ResolveCSSPropertyAlias(int value);

inline bool IsPropertyAlias(CSSPropertyID id) {}

inline CSSPropertyID ResolveCSSPropertyID(CSSPropertyID id)
{}

CSSPropertyID CORE_EXPORT CssPropertyID(const ExecutionContext*,
                                        const WTF::String&);

class CSSPropertyIDList {};

mojom::blink::CSSSampleId CORE_EXPORT GetCSSSampleId(CSSPropertyID id);

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_PROPERTY_NAMES_H_