| 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 #include "{{v8_class_or_partial}}.h" | 4 #include "{{v8_class_or_partial}}.h" |
| 5 | 5 |
| 6 {% for filename in cpp_includes if filename != '%s.h' % cpp_class_or_partial %} | 6 {% for filename in cpp_includes if filename != '%s.h' % cpp_class_or_partial %} |
| 7 #include "{{filename}}" | 7 #include "{{filename}}" |
| 8 {% endfor %} | 8 {% endfor %} |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 prototypeTemplate->SetIntrinsicDataProperty(v8AtomicString(isolate, "forEach")
, v8::kArrayProto_forEach); | 517 prototypeTemplate->SetIntrinsicDataProperty(v8AtomicString(isolate, "forEach")
, v8::kArrayProto_forEach); |
| 518 prototypeTemplate->SetIntrinsicDataProperty(v8AtomicString(isolate, "keys"), v
8::kArrayProto_keys); | 518 prototypeTemplate->SetIntrinsicDataProperty(v8AtomicString(isolate, "keys"), v
8::kArrayProto_keys); |
| 519 prototypeTemplate->SetIntrinsicDataProperty(v8AtomicString(isolate, "values"),
v8::kArrayProto_values); | 519 prototypeTemplate->SetIntrinsicDataProperty(v8AtomicString(isolate, "values"),
v8::kArrayProto_values); |
| 520 {% endif %} | 520 {% endif %} |
| 521 {% endif %} | 521 {% endif %} |
| 522 | 522 |
| 523 {% if iterator_method %} | 523 {% if iterator_method %} |
| 524 {% filter exposed(iterator_method.exposed_test) %} | 524 {% filter exposed(iterator_method.exposed_test) %} |
| 525 {% filter runtime_enabled(iterator_method.runtime_enabled_feature_name) %} | 525 {% filter runtime_enabled(iterator_method.runtime_enabled_feature_name) %} |
| 526 // Iterator (@@iterator) | 526 // Iterator (@@iterator) |
| 527 const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedIteratorCo
nfiguration = { v8::Symbol::GetIterator, {{v8_class_or_partial}}::iteratorMethod
Callback, 0, v8::DontEnum, V8DOMConfiguration::OnPrototype }; | 527 const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedIteratorCo
nfiguration = { v8::Symbol::GetIterator, {{v8_class_or_partial}}::iteratorMethod
Callback, 0, v8::DontEnum, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::
CheckHolder, V8DOMConfiguration::DoNotCheckAccess }; |
| 528 V8DOMConfiguration::installMethod(isolate, world, prototypeTemplate, signature
, symbolKeyedIteratorConfiguration); | 528 V8DOMConfiguration::installMethod(isolate, world, prototypeTemplate, signature
, symbolKeyedIteratorConfiguration); |
| 529 {% endfilter %} | 529 {% endfilter %} |
| 530 {% endfilter %} | 530 {% endfilter %} |
| 531 {% endif %} | 531 {% endif %} |
| 532 | 532 |
| 533 {% if interface_name == 'Location' %} | 533 {% if interface_name == 'Location' %} |
| 534 // Symbol.toPrimitive | 534 // Symbol.toPrimitive |
| 535 // Prevent author scripts to inject Symbol.toPrimitive property into location | 535 // Prevent author scripts to inject Symbol.toPrimitive property into location |
| 536 // objects, also prevent the look-up of Symbol.toPrimitive through the | 536 // objects, also prevent the look-up of Symbol.toPrimitive through the |
| 537 // prototype chain. | 537 // prototype chain. |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 {% endif %} | 737 {% endif %} |
| 738 } | 738 } |
| 739 {% endif %} | 739 {% endif %} |
| 740 | 740 |
| 741 {% endblock %} | 741 {% endblock %} |
| 742 {##############################################################################} | 742 {##############################################################################} |
| 743 {% block partial_interface %}{% endblock %} | 743 {% block partial_interface %}{% endblock %} |
| 744 } // namespace blink | 744 } // namespace blink |
| 745 | 745 |
| 746 {% endfilter %}{# format_blink_cpp_source_code #} | 746 {% endfilter %}{# format_blink_cpp_source_code #} |
| OLD | NEW |