Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPI.h |
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPI.h b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPI.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..823948999d1d47b1273bd463611018b0eaabcd9e |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPI.h |
| @@ -0,0 +1,30 @@ |
| +// Copyright 2016 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 CSSPropertyAPI_h |
| +#define CSSPropertyAPI_h |
| + |
| +#include "core/CSSPropertyNames.h" |
| +#include "core/css/CSSValue.h" |
| +#include "core/css/parser/CSSParserMode.h" |
| +#include "core/css/parser/CSSParserTokenRange.h" |
| + |
| +namespace blink { |
| + |
| +class CSSPropertyAPI { |
|
aazzam
2016/11/28 23:29:00
Look at other public APIs -- twitter, facebook, go
|
| + public: |
| + static const CSSValue* parseSingleValue(CSSParserTokenRange&, |
| + const CSSParserContext&) { |
| + NOTREACHED(); |
|
aazzam
2016/11/28 23:29:00
Try not implement these
|
| + return nullptr; |
| + } |
| + |
| + static inline CSSPropertyID getID() { |
| + NOTREACHED(); |
| + return CSSPropertyInvalid; |
| + } |
| +}; |
| +} |
| + |
| +#endif // CSSPropertyAPI_h |