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

Unified Diff: Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl

Issue 468543002: Revert refactoring of CSSProperty .in files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months 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
« no previous file with comments | « Source/build/scripts/make_css_property_names.py ('k') | Source/core/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
diff --git a/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl b/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
deleted file mode 100644
index f2d267012c0fa6815cbeda091799a6838333f8eb..0000000000000000000000000000000000000000
--- a/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
+++ /dev/null
@@ -1,26 +0,0 @@
-{% from 'macros.tmpl' import license %}
-{{license()}}
-
-#include "config.h"
-#include "core/css/CSSPropertyMetadata.h"
-
-namespace blink {
-{% for flag, function_name in switches %}
-
-bool CSSPropertyMetadata::{{function_name}}(CSSPropertyID property)
-{
- switch(property) {
- case CSSPropertyInvalid:
- ASSERT_NOT_REACHED();
- return false;
- {% for property_id, property in properties.items() if property[flag] %}
- case {{property_id}}:
- {% endfor %}
- return true;
- default:
- return false;
- }
-}
-{% endfor %}
-
-} // namespace blink
« no previous file with comments | « Source/build/scripts/make_css_property_names.py ('k') | Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698