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

Side by Side Diff: Source/bindings/templates/partial_interface.h

Issue 1202683002: bindings: Supports per-member [Exposed] for attributes on prototype. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 5 years, 6 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
OLDNEW
1 {% include 'copyright_block.txt' %} 1 {% include 'copyright_block.txt' %}
2 #ifndef {{v8_class_or_partial}}_h 2 #ifndef {{v8_class_or_partial}}_h
3 #define {{v8_class_or_partial}}_h 3 #define {{v8_class_or_partial}}_h
4 4
5 {% for filename in header_includes %} 5 {% for filename in header_includes %}
6 #include "{{filename}}" 6 #include "{{filename}}"
7 {% endfor %} 7 {% endfor %}
8 8
9 namespace blink { 9 namespace blink {
10 10
(...skipping 11 matching lines...) Expand all
22 static void {{attribute.name}}AttributeGetterCustom(const v8::PropertyCallba ckInfo<v8::Value>&); 22 static void {{attribute.name}}AttributeGetterCustom(const v8::PropertyCallba ckInfo<v8::Value>&);
23 {% endfilter %} 23 {% endfilter %}
24 {% endif %} 24 {% endif %}
25 {% if attribute.has_custom_setter %}{# FIXME: and not attribute.implemented_ by #} 25 {% if attribute.has_custom_setter %}{# FIXME: and not attribute.implemented_ by #}
26 {% filter conditional(attribute.conditional_string) %} 26 {% filter conditional(attribute.conditional_string) %}
27 static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, co nst v8::PropertyCallbackInfo<void>&); 27 static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, co nst v8::PropertyCallbackInfo<void>&);
28 {% endfilter %} 28 {% endfilter %}
29 {% endif %} 29 {% endif %}
30 {% endfor %} 30 {% endfor %}
31 {# Custom internal fields #} 31 {# Custom internal fields #}
32 static void preparePrototypeObject(v8::Isolate*, v8::Local<v8::Object>); 32 static void preparePrototypeObject(v8::Isolate*, v8::Local<v8::Object>, v8:: Local<v8::FunctionTemplate>);
33 private: 33 private:
34 static void install{{v8_class}}Template(v8::Local<v8::FunctionTemplate>, v8: :Isolate*); 34 static void install{{v8_class}}Template(v8::Local<v8::FunctionTemplate>, v8: :Isolate*);
35 }; 35 };
36 } 36 }
37 #endif // {{v8_class_or_partial}}_h 37 #endif // {{v8_class_or_partial}}_h
OLDNEW
« no previous file with comments | « Source/bindings/templates/interface.cpp ('k') | Source/bindings/templates/partial_interface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698