OLD | NEW |
1 {% filter format_blink_cpp_source_code %} | 1 {% filter format_blink_cpp_source_code %} |
2 | 2 |
3 {% include 'copyright_block.txt' %} | 3 {% include 'copyright_block.txt' %} |
4 #ifndef {{v8_class_or_partial}}_h | 4 #ifndef {{v8_class_or_partial}}_h |
5 #define {{v8_class_or_partial}}_h | 5 #define {{v8_class_or_partial}}_h |
6 | 6 |
7 {% for filename in header_includes %} | 7 {% for filename in header_includes %} |
8 #include "{{filename}}" | 8 #include "{{filename}}" |
9 {% endfor %} | 9 {% endfor %} |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 {% for feature in optional_features %} | 36 {% for feature in optional_features %} |
37 static void install{{feature.name}}(ScriptState*, v8::Local<v8::Object> instan
ce); | 37 static void install{{feature.name}}(ScriptState*, v8::Local<v8::Object> instan
ce); |
38 static void install{{feature.name}}(v8::Isolate*, const DOMWrapperWorld&, v8::
Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local<v8::Funct
ion> interface); | 38 static void install{{feature.name}}(v8::Isolate*, const DOMWrapperWorld&, v8::
Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local<v8::Funct
ion> interface); |
39 {% if not feature.needs_instance %} | 39 {% if not feature.needs_instance %} |
40 static void install{{feature.name}}(ScriptState*); | 40 static void install{{feature.name}}(ScriptState*); |
41 {% endif %} | 41 {% endif %} |
42 {% endfor %} | 42 {% endfor %} |
43 | 43 |
44 {% if needs_runtime_enabled_installer %} | 44 {% if needs_runtime_enabled_installer %} |
45 static void installRuntimeEnabledFeatures( | 45 static void InstallRuntimeEnabledFeatures( |
46 v8::Isolate* isolate, | 46 v8::Isolate*, |
47 const DOMWrapperWorld& world, | 47 const DOMWrapperWorld&, |
48 v8::Local<v8::Object> instance, | 48 v8::Local<v8::Object> instance, |
49 v8::Local<v8::Object> prototype, | 49 v8::Local<v8::Object> prototype, |
50 v8::Local<v8::Function> interface); | 50 v8::Local<v8::Function> interface); |
51 {% endif %} | 51 {% endif %} |
52 | 52 |
53 // Callback functions | 53 // Callback functions |
54 {% for attribute in attributes %} | 54 {% for attribute in attributes %} |
55 {% if attribute.is_cached_accessor %} | 55 {% if attribute.is_cached_accessor %} |
56 {{exported}}static v8::Local<v8::Private> {{attribute.name}}CachedPropertyKey(
v8::Isolate* isolate); | 56 {{exported}}static v8::Local<v8::Private> {{attribute.name}}CachedPropertyKey(
v8::Isolate* isolate); |
57 {% endif %} | 57 {% endif %} |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 private: | 105 private: |
106 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&,
v8::Local<v8::FunctionTemplate> interfaceTemplate); | 106 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&,
v8::Local<v8::FunctionTemplate> interfaceTemplate); |
107 }; | 107 }; |
108 | 108 |
109 } // namespace blink | 109 } // namespace blink |
110 | 110 |
111 #endif // {{v8_class_or_partial}}_h | 111 #endif // {{v8_class_or_partial}}_h |
112 | 112 |
113 {% endfilter %}{# format_blink_cpp_source_code #} | 113 {% endfilter %}{# format_blink_cpp_source_code #} |
OLD | NEW |