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

Side by Side Diff: third_party/WebKit/Source/bindings/templates/interface.h.tmpl

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Work for all comments Created 3 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 {% 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}}_h 4 #ifndef {{v8_class}}_h
5 #define {{v8_class}}_h 5 #define {{v8_class}}_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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 {{exported}}static void indexedPropertyGetterCallback(uint32_t index, const v8 ::PropertyCallbackInfo<v8::Value>&); 242 {{exported}}static void indexedPropertyGetterCallback(uint32_t index, const v8 ::PropertyCallbackInfo<v8::Value>&);
243 {% endif %} 243 {% endif %}
244 {% if indexed_property_setter or named_property_setter %} 244 {% if indexed_property_setter or named_property_setter %}
245 {{exported}}static void indexedPropertySetterCallback(uint32_t index, v8::Loca l<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&); 245 {{exported}}static void indexedPropertySetterCallback(uint32_t index, v8::Loca l<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&);
246 {% endif %} 246 {% endif %}
247 {% if indexed_property_deleter or named_property_deleter %} 247 {% if indexed_property_deleter or named_property_deleter %}
248 {{exported}}static void indexedPropertyDeleterCallback(uint32_t index, const v 8::PropertyCallbackInfo<v8::Boolean>&); 248 {{exported}}static void indexedPropertyDeleterCallback(uint32_t index, const v 8::PropertyCallbackInfo<v8::Boolean>&);
249 {% endif %} 249 {% endif %}
250 250
251 {% if needs_runtime_enabled_installer %} 251 {% if needs_runtime_enabled_installer %}
252 {{exported}}static void installRuntimeEnabledFeatures( 252 {{exported}}static void InstallRuntimeEnabledFeatures(
253 v8::Isolate* isolate, 253 v8::Isolate*,
254 const DOMWrapperWorld& world, 254 const DOMWrapperWorld& world,
255 v8::Local<v8::Object> instance, 255 v8::Local<v8::Object> instance,
256 v8::Local<v8::Object> prototype, 256 v8::Local<v8::Object> prototype,
257 v8::Local<v8::Function> interface); 257 v8::Local<v8::Function> interface);
258 258
259 {% if has_partial_interface %} 259 {% if has_partial_interface %}
260 static InstallRuntimeEnabledFunction install{{v8_class}}RuntimeEnabledFunction ; 260 static InstallRuntimeEnabledFunction install{{v8_class}}RuntimeEnabledFunction ;
261 {% endif %} 261 {% endif %}
262 {% endif %} 262 {% endif %}
263 263
(...skipping 11 matching lines...) Expand all
275 template <> 275 template <>
276 struct V8TypeOf<{{cpp_class}}> { 276 struct V8TypeOf<{{cpp_class}}> {
277 typedef {{v8_class}} Type; 277 typedef {{v8_class}} Type;
278 }; 278 };
279 279
280 } // namespace blink 280 } // namespace blink
281 281
282 #endif // {{v8_class}}_h 282 #endif // {{v8_class}}_h
283 283
284 {% endfilter %}{# format_blink_cpp_source_code #} 284 {% endfilter %}{# format_blink_cpp_source_code #}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698