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

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

Issue 1112793002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing buildIssues Created 5 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 {% include 'copyright_block.txt' %} 1 {% include 'copyright_block.txt' %}
2 #ifndef {{v8_class}}_h 2 #ifndef {{v8_class}}_h
3 #define {{v8_class}}_h 3 #define {{v8_class}}_h
4 4
5 {% filter conditional(conditional_string) %} 5 {% filter conditional(conditional_string) %}
6 {% for filename in header_includes %} 6 {% for filename in header_includes %}
7 #include "{{filename}}" 7 #include "{{filename}}"
8 {% endfor %} 8 {% endfor %}
9 9
10 namespace blink { 10 namespace blink {
(...skipping 27 matching lines...) Expand all
38 38
39 {% endif %} 39 {% endif %}
40 {{exported}}static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); 40 {{exported}}static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*);
41 {% if is_array_buffer_or_view %} 41 {% if is_array_buffer_or_view %}
42 {{exported}}static {{cpp_class}}* toImpl(v8::Local<v8::Object> object); 42 {{exported}}static {{cpp_class}}* toImpl(v8::Local<v8::Object> object);
43 {% else %} 43 {% else %}
44 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu e>, v8::Isolate*); 44 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu e>, v8::Isolate*);
45 {{exported}}static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*) ; 45 {{exported}}static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*) ;
46 static {{cpp_class}}* toImpl(v8::Local<v8::Object> object) 46 static {{cpp_class}}* toImpl(v8::Local<v8::Object> object)
47 { 47 {
48 return blink::toScriptWrappable(object)->toImpl<{{cpp_class}}>(); 48 return toScriptWrappable(object)->toImpl<{{cpp_class}}>();
49 } 49 }
50 {% endif %} 50 {% endif %}
51 {{exported}}static {{cpp_class}}* toImplWithTypeCheck(v8::Isolate*, v8::Loca l<v8::Value>); 51 {{exported}}static {{cpp_class}}* toImplWithTypeCheck(v8::Isolate*, v8::Loca l<v8::Value>);
52 {% if has_partial_interface %} 52 {% if has_partial_interface %}
53 {{exported}}static WrapperTypeInfo wrapperTypeInfo; 53 {{exported}}static WrapperTypeInfo wrapperTypeInfo;
54 {% else %} 54 {% else %}
55 {{exported}}static const WrapperTypeInfo wrapperTypeInfo; 55 {{exported}}static const WrapperTypeInfo wrapperTypeInfo;
56 {% endif %} 56 {% endif %}
57 static void refObject(ScriptWrappable*); 57 static void refObject(ScriptWrappable*);
58 static void derefObject(ScriptWrappable*); 58 static void derefObject(ScriptWrappable*);
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 {% endif %} 181 {% endif %}
182 template <> 182 template <>
183 struct V8TypeOf<{{cpp_class}}> { 183 struct V8TypeOf<{{cpp_class}}> {
184 typedef {{v8_class}} Type; 184 typedef {{v8_class}} Type;
185 }; 185 };
186 186
187 } // namespace blink 187 } // namespace blink
188 {% endfilter %} 188 {% endfilter %}
189 189
190 #endif // {{v8_class}}_h 190 #endif // {{v8_class}}_h
OLDNEW
« no previous file with comments | « Source/bindings/modules/v8/V8BindingForModules.cpp ('k') | Source/bindings/tests/results/core/V8SVGTestInterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698