Chromium Code Reviews| Index: third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPI.h.tmpl |
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMargin.h b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPI.h.tmpl |
| similarity index 78% |
| rename from third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMargin.h |
| rename to third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPI.h.tmpl |
| index 2588e5448abf155b6ad36635986c5fceec1501bd..f49b443648bcbfeba16b0cbc463ccd2cb7e26493 100644 |
| --- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMargin.h |
| +++ b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPI.h.tmpl |
| @@ -2,8 +2,8 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
|
sashab
2016/12/15 02:48:43
CSSPropertyAPI.h.tmpl is probably a bit misleading
aazzam
2016/12/15 04:35:07
CSSPropertyAPIFiles.h.tmpl sounds good :)
|
| // found in the LICENSE file. |
| -#ifndef CSSPropertyAPIMargin_h |
| -#define CSSPropertyAPIMargin_h |
| +#ifndef {{api_classname}}_h |
| +#define {{api_classname}}_h |
| #include "core/CSSPropertyNames.h" |
| #include "core/css/properties/CSSPropertyAPI.h" |
| @@ -15,7 +15,7 @@ namespace blink { |
| class CSSParserTokenRange; |
| class CSSParserContext; |
| -class CSSPropertyAPIMargin : public CSSPropertyAPI { |
| +class {{api_classname}} : public CSSPropertyAPI { |
| public: |
| static const CSSValue* parseSingleValue(CSSParserTokenRange&, |
| const CSSParserContext&); |
| @@ -23,4 +23,4 @@ class CSSPropertyAPIMargin : public CSSPropertyAPI { |
| } // namespace blink |
| -#endif // CSSPropertyAPIMargin_h |
| +#endif // {{api_classname}}_h |
|
sashab
2016/12/15 02:48:43
Oh my god this template is so awesome... *dies*
I
|