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

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

Issue 1018863002: compositor-worker: Introduce CompositorWorker. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 9 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 | « Source/bindings/scripts/v8_utilities.py ('k') | Source/core/dom/ExecutionContext.h » ('j') | 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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 %}
OLDNEW
« no previous file with comments | « Source/bindings/scripts/v8_utilities.py ('k') | Source/core/dom/ExecutionContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698