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 #include "config.h" | 7 #include "config.h" |
8 #include "V8TestSpecialOperations.h" | 8 #include "V8TestSpecialOperations.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
11 #include "bindings/core/v8/V8DOMConfiguration.h" | 11 #include "bindings/core/v8/V8DOMConfiguration.h" |
12 #include "bindings/core/v8/V8HiddenValue.h" | 12 #include "bindings/core/v8/V8HiddenValue.h" |
13 #include "bindings/core/v8/V8NodeList.h" | 13 #include "bindings/core/v8/V8NodeList.h" |
14 #include "bindings/core/v8/V8ObjectConstructor.h" | 14 #include "bindings/core/v8/V8ObjectConstructor.h" |
15 #include "bindings/tests/v8/V8Node.h" | 15 #include "bindings/tests/v8/V8Node.h" |
16 #include "core/dom/ContextFeatures.h" | 16 #include "core/dom/ContextFeatures.h" |
17 #include "core/dom/Document.h" | 17 #include "core/dom/Document.h" |
18 #include "core/dom/NameNodeList.h" | 18 #include "core/dom/NameNodeList.h" |
19 #include "core/dom/NodeList.h" | 19 #include "core/dom/NodeList.h" |
20 #include "core/dom/StaticNodeList.h" | 20 #include "core/dom/StaticNodeList.h" |
21 #include "core/html/LabelsNodeList.h" | 21 #include "core/html/LabelsNodeList.h" |
22 #include "platform/RuntimeEnabledFeatures.h" | 22 #include "platform/RuntimeEnabledFeatures.h" |
23 #include "platform/TraceEvent.h" | 23 #include "platform/TraceEvent.h" |
24 #include "wtf/GetPtr.h" | 24 #include "wtf/GetPtr.h" |
25 #include "wtf/RefPtr.h" | 25 #include "wtf/RefPtr.h" |
26 | 26 |
27 namespace blink { | 27 namespace blink { |
28 | 28 |
29 static void initializeScriptWrappableForInterface(TestSpecialOperations* impl) | |
30 { | |
31 impl->setTypeInfo(&V8TestSpecialOperations::wrapperTypeInfo); | |
32 } | |
33 | |
34 } // namespace blink | |
35 | |
36 void webCoreInitializeScriptWrappableForInterface(blink::TestSpecialOperations*
object) | |
37 { | |
38 blink::initializeScriptWrappableForInterface(object); | |
39 } | |
40 | |
41 namespace blink { | |
42 | |
43 const WrapperTypeInfo V8TestSpecialOperations::wrapperTypeInfo = { gin::kEmbedde
rBlink, V8TestSpecialOperations::domTemplate, V8TestSpecialOperations::refObject
, V8TestSpecialOperations::derefObject, V8TestSpecialOperations::createPersisten
tHandle, 0, 0, 0, V8TestSpecialOperations::installConditionallyEnabledMethods, V
8TestSpecialOperations::installConditionallyEnabledProperties, 0, WrapperTypeInf
o::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::
Independent, WrapperTypeInfo::RefCountedObject }; | 29 const WrapperTypeInfo V8TestSpecialOperations::wrapperTypeInfo = { gin::kEmbedde
rBlink, V8TestSpecialOperations::domTemplate, V8TestSpecialOperations::refObject
, V8TestSpecialOperations::derefObject, V8TestSpecialOperations::createPersisten
tHandle, 0, 0, 0, V8TestSpecialOperations::installConditionallyEnabledMethods, V
8TestSpecialOperations::installConditionallyEnabledProperties, 0, WrapperTypeInf
o::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::
Independent, WrapperTypeInfo::RefCountedObject }; |
44 | 30 |
45 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestSpecialO
perations.h. | 31 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestSpecialO
perations.h. |
46 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 32 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
47 // bindings/core/v8/ScriptWrappable.h. | 33 // bindings/core/v8/ScriptWrappable.h. |
48 const WrapperTypeInfo& TestSpecialOperations::s_wrapperTypeInfo = V8TestSpecialO
perations::wrapperTypeInfo; | 34 const WrapperTypeInfo& TestSpecialOperations::s_wrapperTypeInfo = V8TestSpecialO
perations::wrapperTypeInfo; |
49 | 35 |
50 namespace TestSpecialOperationsV8Internal { | 36 namespace TestSpecialOperationsV8Internal { |
51 | 37 |
52 template <typename T> void V8_USE(T) { } | 38 template <typename T> void V8_USE(T) { } |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 return 0; | 217 return 0; |
232 } | 218 } |
233 | 219 |
234 template<> | 220 template<> |
235 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperations* impl, v8::Handle<v8::O
bject> creationContext, v8::Isolate* isolate) | 221 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperations* impl, v8::Handle<v8::O
bject> creationContext, v8::Isolate* isolate) |
236 { | 222 { |
237 return toV8(impl, creationContext, isolate); | 223 return toV8(impl, creationContext, isolate); |
238 } | 224 } |
239 | 225 |
240 } // namespace blink | 226 } // namespace blink |
OLD | NEW |