| Index: Source/bindings/templates/dictionary_impl.cpp
|
| diff --git a/Source/bindings/templates/dictionary_impl.cpp b/Source/bindings/templates/dictionary_impl.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4c8de8014c6cf1c47ed293996dd15ec8567332e3
|
| --- /dev/null
|
| +++ b/Source/bindings/templates/dictionary_impl.cpp
|
| @@ -0,0 +1,36 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// This file has been auto-generated by {{code_generator}}. DO NOT MODIFY!
|
| +
|
| +#include "config.h"
|
| +#include "{{cpp_class}}.h"
|
| +
|
| +{% for filename in cpp_includes %}
|
| +#include "{{filename}}"
|
| +{% endfor %}
|
| +
|
| +namespace blink {
|
| +
|
| +{# Constructor #}
|
| +{{cpp_class}}::{{cpp_class}}()
|
| +{
|
| +}
|
| +
|
| +{# Setters #}
|
| +{% for member in members %}
|
| +void {{cpp_class}}::{{member.setter_name}}({{member.argument_cpp_type}} value)
|
| +{
|
| + m_{{member.name}} = value;
|
| +}
|
| +
|
| +{% endfor %}
|
| +void {{cpp_class}}::trace(Visitor* visitor)
|
| +{
|
| + {% for member in members if member.is_traceable %}
|
| + visitor->trace(m_{{member.name}});
|
| + {% endfor %}
|
| +}
|
| +
|
| +} // namespace blink
|
|
|