| Index: third_party/WebKit/Source/core/css/parser/CSSVariableParser.h
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSVariableParser.h b/third_party/WebKit/Source/core/css/parser/CSSVariableParser.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7af43e14dd51769aa147bfea046b54cf46e3917c
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSVariableParser.h
|
| @@ -0,0 +1,28 @@
|
| +// 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 CSSVariableParser_h
|
| +#define CSSVariableParser_h
|
| +
|
| +#include "core/css/parser/CSSParserTokenRange.h"
|
| +#include "platform/heap/Handle.h"
|
| +#include "wtf/RefPtr.h"
|
| +#include "wtf/text/AtomicString.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class CSSCustomPropertyDeclaration;
|
| +
|
| +class CSSVariableParser {
|
| +public:
|
| + static bool containsValidVariableReferences(CSSParserTokenRange);
|
| +
|
| + static PassRefPtrWillBeRawPtr<CSSCustomPropertyDeclaration> parseDeclarationValue(const AtomicString&, CSSParserTokenRange);
|
| +
|
| + static bool isValidVariableName(const CSSParserToken&);
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // CSSVariableParser_h
|
|
|