OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY! | 5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY! |
6 | 6 |
7 #include "config.h" | 7 #include "config.h" |
8 {% filter conditional(conditional_string) %} | 8 {% filter conditional(conditional_string) %} |
9 #include "{{v8_class_or_partial}}.h" | 9 #include "{{v8_class_or_partial}}.h" |
10 | 10 |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 {% endfilter %} | 456 {% endfilter %} |
457 {% endfor %} | 457 {% endfor %} |
458 {# Special interfaces #} | 458 {# Special interfaces #} |
459 {% if not is_partial %} | 459 {% if not is_partial %} |
460 {% if interface_name == 'Window' %} | 460 {% if interface_name == 'Window' %} |
461 | 461 |
462 prototypeTemplate->SetInternalFieldCount(V8Window::internalFieldCount); | 462 prototypeTemplate->SetInternalFieldCount(V8Window::internalFieldCount); |
463 functionTemplate->SetHiddenPrototype(true); | 463 functionTemplate->SetHiddenPrototype(true); |
464 instanceTemplate->SetInternalFieldCount(V8Window::internalFieldCount); | 464 instanceTemplate->SetInternalFieldCount(V8Window::internalFieldCount); |
465 {% elif interface_name in [ | 465 {% elif interface_name in [ |
466 'HTMLDocument', 'DedicatedWorkerGlobalScope', | 466 'HTMLDocument', 'DedicatedWorkerGlobalScope', 'CompositorWorkerGlobal
Scope', |
467 'SharedWorkerGlobalScope', 'ServiceWorkerGlobalScope'] %} | 467 'SharedWorkerGlobalScope', 'ServiceWorkerGlobalScope'] %} |
468 functionTemplate->SetHiddenPrototype(true); | 468 functionTemplate->SetHiddenPrototype(true); |
469 {% endif %} | 469 {% endif %} |
470 | 470 |
471 // Custom toString template | 471 // Custom toString template |
472 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 472 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
473 {% endif %} | 473 {% endif %} |
474 } | 474 } |
475 | 475 |
476 {% endif %}{# not is_array_buffer_or_view #} | 476 {% endif %}{# not is_array_buffer_or_view #} |
(...skipping 22 matching lines...) Expand all Loading... |
499 {% endfor %} | 499 {% endfor %} |
500 {% for attribute in attributes if attribute.is_implemented_in_private_script %} | 500 {% for attribute in attributes if attribute.is_implemented_in_private_script %} |
501 {{attribute_getter_implemented_in_private_script(attribute)}} | 501 {{attribute_getter_implemented_in_private_script(attribute)}} |
502 {% if attribute.has_setter %} | 502 {% if attribute.has_setter %} |
503 {{attribute_setter_implemented_in_private_script(attribute)}} | 503 {{attribute_setter_implemented_in_private_script(attribute)}} |
504 {% endif %} | 504 {% endif %} |
505 {% endfor %} | 505 {% endfor %} |
506 {% block partial_interface %}{% endblock %} | 506 {% block partial_interface %}{% endblock %} |
507 } // namespace blink | 507 } // namespace blink |
508 {% endfilter %} | 508 {% endfilter %} |
OLD | NEW |