Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2494)

Unified Diff: third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl

Issue 2578773002: Made a generator for .h files for implementations of CSSPropertyAPI.h (Closed)
Patch Set: Removed generated .h files from BUILD Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitPadding.h b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl
similarity index 69%
rename from third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitPadding.h
rename to third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl
index 22c2497ecd81afb1294566b4ba43790ecf5a59b6..f008171940d3c65e23934254f7478557106f7e5a 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitPadding.h
+++ b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl
@@ -2,20 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CSSPropertyAPIWebkitPadding_h
-#define CSSPropertyAPIWebkitPadding_h
+#ifndef {{api_classname}}_h
+#define {{api_classname}}_h
#include "core/CSSPropertyNames.h"
#include "core/css/properties/CSSPropertyAPI.h"
namespace blink {
-// TODO(aazzam): Generate API .h files
-
class CSSParserTokenRange;
class CSSParserContext;
-class CSSPropertyAPIWebkitPadding : public CSSPropertyAPI {
+class {{api_classname}} : public CSSPropertyAPI {
public:
static const CSSValue* parseSingleValue(CSSParserTokenRange&,
const CSSParserContext&);
@@ -23,4 +21,4 @@ class CSSPropertyAPIWebkitPadding : public CSSPropertyAPI {
} // namespace blink
-#endif // CSSPropertyAPIWebkitPadding_h
+#endif // {{api_classname}}_h
« no previous file with comments | « third_party/WebKit/Source/build/scripts/make_css_property_descriptor.py ('k') | third_party/WebKit/Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698