OLD | NEW |
1 {% from 'macros.tmpl' import license %} | 1 {% from 'macros.tmpl' import license %} |
2 {{license()}} | 2 {{license()}} |
3 | 3 |
4 #ifndef InternalRuntimeFlags_h | 4 #ifndef InternalRuntimeFlags_h |
5 #define InternalRuntimeFlags_h | 5 #define InternalRuntimeFlags_h |
6 | 6 |
7 #include "bindings/core/v8/ScriptWrappable.h" | 7 #include "bindings/core/v8/ScriptWrappable.h" |
8 #include "platform/RuntimeEnabledFeatures.h" | 8 #include "platform/RuntimeEnabledFeatures.h" |
9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
10 #include "wtf/PassRefPtr.h" | 10 #include "wtf/PassRefPtr.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 #} | 29 #} |
30 {% for feature in features if not feature.custom %} | 30 {% for feature in features if not feature.custom %} |
31 {% filter enable_conditional(feature.condition) %} | 31 {% filter enable_conditional(feature.condition) %} |
32 bool {{feature.first_lowered_name}}Enabled() { return RuntimeEnabledFeatures
::{{feature.first_lowered_name}}Enabled(); } | 32 bool {{feature.first_lowered_name}}Enabled() { return RuntimeEnabledFeatures
::{{feature.first_lowered_name}}Enabled(); } |
33 {% endfilter %} | 33 {% endfilter %} |
34 {% endfor %} | 34 {% endfor %} |
35 | 35 |
36 void trace(Visitor*) { } | 36 void trace(Visitor*) { } |
37 | 37 |
38 private: | 38 private: |
39 InternalRuntimeFlags() | 39 InternalRuntimeFlags() { } |
40 { | |
41 ScriptWrappable::init(this); | |
42 } | |
43 }; | 40 }; |
44 | 41 |
45 } // namespace blink | 42 } // namespace blink |
46 | 43 |
47 #endif // InternalRuntimeFlags_h | 44 #endif // InternalRuntimeFlags_h |
OLD | NEW |