| 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_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
| 6 | 6 |
| 7 #ifndef V8TestInterface5_h | 7 #ifndef V8TestInterface5_h |
| 8 #define V8TestInterface5_h | 8 #define V8TestInterface5_h |
| 9 | 9 |
| 10 #include "bindings/core/v8/DoubleOrString.h" | 10 #include "bindings/core/v8/DoubleOrString.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 template<typename VisitorDispatcher> | 37 template<typename VisitorDispatcher> |
| 38 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) | 38 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) |
| 39 { | 39 { |
| 40 visitor->trace(scriptWrappable->toImpl<TestInterface5Implementation>()); | 40 visitor->trace(scriptWrappable->toImpl<TestInterface5Implementation>()); |
| 41 } | 41 } |
| 42 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWr
appable) | 42 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWr
appable) |
| 43 { | 43 { |
| 44 visitor->traceWrappers(scriptWrappable->toImpl<TestInterface5Implementat
ion>()); | 44 visitor->traceWrappers(scriptWrappable->toImpl<TestInterface5Implementat
ion>()); |
| 45 } | 45 } |
| 46 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis
tent<v8::Object>&); | 46 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis
tent<v8::Object>&); |
| 47 static ActiveScriptWrappable* toActiveScriptWrappable(v8::Local<v8::Object>)
; | |
| 48 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); | 47 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
| 49 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 48 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
| 50 MODULES_EXPORT static void preparePrototypeAndInterfaceObject(v8::Local<v8::
Context>, const DOMWrapperWorld&, v8::Local<v8::Object> prototypeObject, v8::Loc
al<v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfaceTempl
ate); | 49 MODULES_EXPORT static void preparePrototypeAndInterfaceObject(v8::Local<v8::
Context>, const DOMWrapperWorld&, v8::Local<v8::Object> prototypeObject, v8::Loc
al<v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfaceTempl
ate); |
| 51 }; | 50 }; |
| 52 | 51 |
| 53 template <> | 52 template <> |
| 54 struct V8TypeOf<TestInterface5Implementation> { | 53 struct V8TypeOf<TestInterface5Implementation> { |
| 55 typedef V8TestInterface5 Type; | 54 typedef V8TestInterface5 Type; |
| 56 }; | 55 }; |
| 57 | 56 |
| 58 } // namespace blink | 57 } // namespace blink |
| 59 | 58 |
| 60 #endif // V8TestInterface5_h | 59 #endif // V8TestInterface5_h |
| OLD | NEW |