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

Side by Side Diff: Source/build/scripts/templates/InternalRuntimeFlags.h.tmpl

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestTypedefs.cpp ('k') | Source/build/scripts/templates/InternalSettingsGenerated.cpp.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698