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

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

Issue 696203002: Move the v8::Isolate* parameter to the first parameter of various binding methods in third_party/We… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 // 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 { 65 {
66 {% if gc_type == 'GarbageCollectedObject' %} 66 {% if gc_type == 'GarbageCollectedObject' %}
67 visitor->trace(scriptWrappableBase->toImpl<{{cpp_class}}>()); 67 visitor->trace(scriptWrappableBase->toImpl<{{cpp_class}}>());
68 {% elif gc_type == 'WillBeGarbageCollectedObject' %} 68 {% elif gc_type == 'WillBeGarbageCollectedObject' %}
69 #if ENABLE(OILPAN) 69 #if ENABLE(OILPAN)
70 visitor->trace(scriptWrappableBase->toImpl<{{cpp_class}}>()); 70 visitor->trace(scriptWrappableBase->toImpl<{{cpp_class}}>());
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(ScriptWrappableBase*, const v8::Persistent<v8::O bject>&, v8::Isolate*); 75 static void visitDOMWrapper(v8::Isolate*, ScriptWrappableBase*, const v8::Pe rsistent<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 is_event_target %} 80 {% if is_event_target %}
81 static EventTarget* toEventTarget(v8::Handle<v8::Object>); 81 static EventTarget* toEventTarget(v8::Handle<v8::Object>);
82 {% endif %} 82 {% endif %}
83 {% if interface_name == 'Window' %} 83 {% if interface_name == 'Window' %}
84 static v8::Handle<v8::ObjectTemplate> getShadowObjectTemplate(v8::Isolate*); 84 static v8::Handle<v8::ObjectTemplate> getShadowObjectTemplate(v8::Isolate*);
85 {% endif %} 85 {% endif %}
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 {% endif %}{# has_custom_to_v8 #} 265 {% endif %}{# has_custom_to_v8 #}
266 {% if has_event_constructor %} 266 {% if has_event_constructor %}
267 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta te&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = ""); 267 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta te&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = "");
268 268
269 {% endif %} 269 {% endif %}
270 } // namespace blink 270 } // namespace blink
271 {% endfilter %} 271 {% endfilter %}
272 272
273 #endif // {{v8_class}}_h 273 #endif // {{v8_class}}_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp ('k') | Source/bindings/templates/interface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698