blob: 89404368c147d021980eea88f5e8637d2b8b72a5 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// 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_PARSER_CSS_AT_RULE_ID_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_PARSER_CSS_AT_RULE_ID_H_
#include "third_party/blink/renderer/platform/wtf/text/string_view.h"
namespace blink {
class CSSParserContext;
enum CSSAtRuleID {
kCSSAtRuleInvalid,
kCSSAtRuleCharset,
kCSSAtRuleFontFace,
kCSSAtRuleFontFeatureValues,
kCSSAtRuleImport,
kCSSAtRuleKeyframes,
kCSSAtRuleMedia,
kCSSAtRuleNamespace,
kCSSAtRulePage,
kCSSAtRuleSupports,
kCSSAtRuleViewport,
kCSSAtRuleWebkitKeyframes,
};
CSSAtRuleID CssAtRuleID(StringView name);
void CountAtRule(const CSSParserContext*, CSSAtRuleID);
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_PARSER_CSS_AT_RULE_ID_H_