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

Side by Side Diff: third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl

Issue 2568403002: [Bindings][Refactoring] Remove attribute filters from .tmpl files (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl ('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 {% filter format_blink_cpp_source_code %} 1 {% filter format_blink_cpp_source_code %}
2 2
3 {% include 'copyright_block.txt' %} 3 {% include 'copyright_block.txt' %}
4 #ifndef {{v8_class_or_partial}}_h 4 #ifndef {{v8_class_or_partial}}_h
5 #define {{v8_class_or_partial}}_h 5 #define {{v8_class_or_partial}}_h
6 6
7 {% for filename in header_includes %} 7 {% for filename in header_includes %}
8 #include "{{filename}}" 8 #include "{{filename}}"
9 {% endfor %} 9 {% endfor %}
10 10
11 namespace blink { 11 namespace blink {
12 12
13 {% if attributes|origin_trial_enabled_attributes %} 13 {% if origin_trial_attributes %}
14 class ScriptState; 14 class ScriptState;
15 {% endif %} 15 {% endif %}
16 16
17 class {{v8_class_or_partial}} { 17 class {{v8_class_or_partial}} {
18 STATIC_ONLY({{v8_class_or_partial}}); 18 STATIC_ONLY({{v8_class_or_partial}});
19 public: 19 public:
20 static void initialize(); 20 static void initialize();
21 {% for method in methods if method.is_custom %} 21 {% for method in methods if method.is_custom %}
22 static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::Val ue>&); 22 static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::Val ue>&);
23 {% endfor %} 23 {% endfor %}
(...skipping 20 matching lines...) Expand all
44 44
45 private: 45 private:
46 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::FunctionTemplate> interfaceTemplate); 46 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::FunctionTemplate> interfaceTemplate);
47 }; 47 };
48 48
49 } // namespace blink 49 } // namespace blink
50 50
51 #endif // {{v8_class_or_partial}}_h 51 #endif // {{v8_class_or_partial}}_h
52 52
53 {% endfilter %}{# format_blink_cpp_source_code #} 53 {% endfilter %}{# format_blink_cpp_source_code #}
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698