| Index: third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp.tmpl
|
| index 3e612a1b6bfccce278b1a1d6195afb893f292426..077918ad1d4bf7b0572668fa2f3ababfc178cbad 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp.tmpl
|
| @@ -27,6 +27,27 @@ DEFINE_TRACE({{cpp_class}}) {
|
| {% endif %}
|
| }
|
|
|
| +{% for member in members %}
|
| +bool {{cpp_class}}::{{member.has_method_name}}() const {
|
| + return {{member.has_method_expression}};
|
| +}
|
| +
|
| +{{member.rvalue_cpp_type}} {{cpp_class}}::{{member.cpp_name}}() const {
|
| + return {{member.getter_expression}};
|
| +}
|
| +
|
| +void {{cpp_class}}::{{member.setter_name}}({{member.rvalue_cpp_type}} value) {
|
| + m_{{member.cpp_name}} = value;
|
| +}
|
| +
|
| +{% if member.null_setter_name %}
|
| +void {{cpp_class}}::{{member.null_setter_name}}() {
|
| + m_{{member.cpp_name}} = {{member.member_cpp_type}}();
|
| +}
|
| +{% endif %}
|
| +
|
| +{% endfor %}
|
| +
|
| } // namespace blink
|
|
|
| {% endfilter %}{# format_blink_cpp_source_code #}
|
|
|