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

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

Issue 2880713002: Support combination of [OriginTrialEnabled] and [SecureContext] (Closed)
Patch Set: Rebase Created 3 years, 7 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
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 origin_trial_attributes %} 13 {% if origin_trial_features %}
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 private: 105 private:
106 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::FunctionTemplate> interfaceTemplate); 106 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::FunctionTemplate> interfaceTemplate);
107 }; 107 };
108 108
109 } // namespace blink 109 } // namespace blink
110 110
111 #endif // {{v8_class_or_partial}}_h 111 #endif // {{v8_class_or_partial}}_h
112 112
113 {% endfilter %}{# format_blink_cpp_source_code #} 113 {% endfilter %}{# format_blink_cpp_source_code #}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698