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

Side by Side Diff: sky/engine/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl

Issue 1206763002: Really remove config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 {% from 'macros.tmpl' import license %} 1 {% from 'macros.tmpl' import license %}
2 {{license()}} 2 {{license()}}
3 3
4 #include "config.h"
5 #include "core/css/CSSPropertyMetadata.h" 4 #include "core/css/CSSPropertyMetadata.h"
6 5
7 #include "gen/sky/platform/RuntimeEnabledFeatures.h" 6 #include "gen/sky/platform/RuntimeEnabledFeatures.h"
8 #include "wtf/BitArray.h" 7 #include "wtf/BitArray.h"
9 8
10 namespace blink { 9 namespace blink {
11 {% for flag, function_name in switches %} 10 {% for flag, function_name in switches %}
12 11
13 bool CSSPropertyMetadata::{{function_name}}(CSSPropertyID property) 12 bool CSSPropertyMetadata::{{function_name}}(CSSPropertyID property)
14 { 13 {
(...skipping 30 matching lines...) Expand all
45 void CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(const CSSProperty ID* properties, size_t propertyCount, Vector<CSSPropertyID>& outVector) 44 void CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(const CSSProperty ID* properties, size_t propertyCount, Vector<CSSPropertyID>& outVector)
46 { 45 {
47 for (unsigned i = 0; i < propertyCount; i++) { 46 for (unsigned i = 0; i < propertyCount; i++) {
48 CSSPropertyID property = properties[i]; 47 CSSPropertyID property = properties[i];
49 if (isEnabledProperty(property)) 48 if (isEnabledProperty(property))
50 outVector.append(property); 49 outVector.append(property);
51 } 50 }
52 } 51 }
53 52
54 } // namespace blink 53 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/build/scripts/make_css_value_keywords.py ('k') | sky/engine/build/scripts/templates/ElementFactory.cpp.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698