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

Side by Side Diff: Source/bindings/templates/interface_base.cpp

Issue 931793002: bindings: Fixes potential build breakage (V8DOMConfiguration::installAccessor). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 {% for attribute in attributes 329 {% for attribute in attributes
330 if attribute.runtime_enabled_function and 330 if attribute.runtime_enabled_function and
331 not attribute.per_context_enabled_function and 331 not attribute.per_context_enabled_function and
332 not attribute.exposed_test and 332 not attribute.exposed_test and
333 not attribute.is_static %} 333 not attribute.is_static %}
334 {% filter conditional(attribute.conditional_string) %} 334 {% filter conditional(attribute.conditional_string) %}
335 if ({{attribute.runtime_enabled_function}}()) { 335 if ({{attribute.runtime_enabled_function}}()) {
336 {% if attribute.is_expose_js_accessors %} 336 {% if attribute.is_expose_js_accessors %}
337 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura tion =\ 337 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura tion =\
338 {{attribute_configuration(attribute)}}; 338 {{attribute_configuration(attribute)}};
339 V8DOMConfiguration::installAccessor(isolate, instanceTemplate, prototype Template, defaultSignature, accessorConfiguration); 339 V8DOMConfiguration::installAccessor(isolate, prototypeTemplate, defaultS ignature, accessorConfiguration);
340 {% else %} 340 {% else %}
341 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\ 341 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\
342 {{attribute_configuration(attribute)}}; 342 {{attribute_configuration(attribute)}};
343 V8DOMConfiguration::installAttribute(isolate, instanceTemplate, prototyp eTemplate, attributeConfiguration); 343 V8DOMConfiguration::installAttribute(isolate, instanceTemplate, prototyp eTemplate, attributeConfiguration);
344 {% endif %} 344 {% endif %}
345 } 345 }
346 {% endfilter %} 346 {% endfilter %}
347 {% endfor %} 347 {% endfor %}
348 {% if constants %} 348 {% if constants %}
349 {{install_constants() | indent}} 349 {{install_constants() | indent}}
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 {% endfor %} 497 {% endfor %}
498 {% for attribute in attributes if attribute.is_implemented_in_private_script %} 498 {% for attribute in attributes if attribute.is_implemented_in_private_script %}
499 {{attribute_getter_implemented_in_private_script(attribute)}} 499 {{attribute_getter_implemented_in_private_script(attribute)}}
500 {% if not attribute.is_read_only or attribute.put_forwards %} 500 {% if not attribute.is_read_only or attribute.put_forwards %}
501 {{attribute_setter_implemented_in_private_script(attribute)}} 501 {{attribute_setter_implemented_in_private_script(attribute)}}
502 {% endif %} 502 {% endif %}
503 {% endfor %} 503 {% endfor %}
504 {% block partial_interface %}{% endblock %} 504 {% block partial_interface %}{% endblock %}
505 } // namespace blink 505 } // namespace blink
506 {% endfilter %} 506 {% endfilter %}
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698