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

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

Issue 819943006: [bindings] Let getShadowObjectTemplate return Local<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@third-branch
Patch Set: Created 6 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 | « Source/bindings/core/v8/WindowProxy.cpp ('k') | Source/bindings/templates/interface.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY! 5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY!
6 6
7 #ifndef {{v8_class}}_h 7 #ifndef {{v8_class}}_h
8 #define {{v8_class}}_h 8 #define {{v8_class}}_h
9 9
10 {% filter conditional(conditional_string) %} 10 {% filter conditional(conditional_string) %}
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 #endif 71 #endif
72 {% endif %} 72 {% endif %}
73 } 73 }
74 {% if has_visit_dom_wrapper %} 74 {% if has_visit_dom_wrapper %}
75 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis tent<v8::Object>&); 75 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis tent<v8::Object>&);
76 {% endif %} 76 {% endif %}
77 {% if is_active_dom_object %} 77 {% if is_active_dom_object %}
78 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>); 78 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>);
79 {% endif %} 79 {% endif %}
80 {% if interface_name == 'Window' %} 80 {% if interface_name == 'Window' %}
81 static v8::Handle<v8::ObjectTemplate> getShadowObjectTemplate(v8::Isolate*); 81 static v8::Local<v8::ObjectTemplate> getShadowObjectTemplate(v8::Isolate*);
82 {% endif %} 82 {% endif %}
83 {% for method in methods %} 83 {% for method in methods %}
84 {% if method.is_custom %} 84 {% if method.is_custom %}
85 {% filter conditional(method.conditional_string) %} 85 {% filter conditional(method.conditional_string) %}
86 static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::V alue>&); 86 static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::V alue>&);
87 {% endfilter %} 87 {% endfilter %}
88 {% endif %} 88 {% endif %}
89 {% endfor %} 89 {% endfor %}
90 {% if constructors or has_custom_constructor or has_event_constructor %} 90 {% if constructors or has_custom_constructor or has_event_constructor %}
91 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); 91 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 195
196 {% endif %}{# has_custom_to_v8 #} 196 {% endif %}{# has_custom_to_v8 #}
197 {% if has_event_constructor %} 197 {% if has_event_constructor %}
198 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta te&, const v8::FunctionCallbackInfo<v8::Value>& info); 198 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta te&, const v8::FunctionCallbackInfo<v8::Value>& info);
199 199
200 {% endif %} 200 {% endif %}
201 } // namespace blink 201 } // namespace blink
202 {% endfilter %} 202 {% endfilter %}
203 203
204 #endif // {{v8_class}}_h 204 #endif // {{v8_class}}_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/WindowProxy.cpp ('k') | Source/bindings/templates/interface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698