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

Side by Side Diff: Source/bindings/dart/scripts/templates/interface_h.template

Issue 400893007: Add Custom Named property getters for cssStyleDeclaration to determine the existence of a property. (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/1985
Patch Set: Created 6 years, 5 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/dart/scripts/templates/interface_cpp.template ('k') | 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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 #ifndef {{dart_class}}_h 7 #ifndef {{dart_class}}_h
8 #define {{dart_class}}_h 8 #define {{dart_class}}_h
9 9
10 {% filter conditional(conditional_string) %} 10 {% filter conditional(conditional_string) %}
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 {% for attribute in attributes %} 165 {% for attribute in attributes %}
166 {% if attribute.has_custom_getter %} 166 {% if attribute.has_custom_getter %}
167 void {{attribute.name}}Getter(Dart_NativeArguments); 167 void {{attribute.name}}Getter(Dart_NativeArguments);
168 {% endif %} 168 {% endif %}
169 {% if attribute.has_custom_setter %} 169 {% if attribute.has_custom_setter %}
170 void {{attribute.name}}Setter(Dart_NativeArguments); 170 void {{attribute.name}}Setter(Dart_NativeArguments);
171 {% endif %} 171 {% endif %}
172 {% endfor %} 172 {% endfor %}
173 173
174 {% if dart_class == 'DartCSSStyleDeclaration' %}
175 // TODO(efortuna): Pull in custom functions in a less hacky way!
176 void propertyQuery(Dart_NativeArguments args);
177 {% endif %}
178
174 } 179 }
175 180
176 } // namespace WebCore 181 } // namespace WebCore
177 182
178 {% endfilter %} 183 {% endfilter %}
179 184
180 #endif // {{dart_class}}_h 185 #endif // {{dart_class}}_h
OLDNEW
« no previous file with comments | « Source/bindings/dart/scripts/templates/interface_cpp.template ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698