| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |