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 "V8TestInterfaceDocument.h" | 8 #include "V8TestInterfaceDocument.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceDocument*
object) | 33 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceDocument*
object) |
34 { | 34 { |
35 blink::initializeScriptWrappableForInterface(object); | 35 blink::initializeScriptWrappableForInterface(object); |
36 } | 36 } |
37 | 37 |
38 namespace blink { | 38 namespace blink { |
39 | 39 |
40 const WrapperTypeInfo V8TestInterfaceDocument::wrapperTypeInfo = { gin::kEmbedde
rBlink, V8TestInterfaceDocument::domTemplate, V8TestInterfaceDocument::refObject
, V8TestInterfaceDocument::derefObject, V8TestInterfaceDocument::createPersisten
tHandle, 0, V8TestInterfaceDocument::toEventTarget, 0, V8TestInterfaceDocument::
installConditionallyEnabledMethods, V8TestInterfaceDocument::installConditionall
yEnabledProperties, &V8Document::wrapperTypeInfo, WrapperTypeObjectPrototype, Wi
llBeGarbageCollectedObject }; | 40 const WrapperTypeInfo V8TestInterfaceDocument::wrapperTypeInfo = { gin::kEmbedde
rBlink, V8TestInterfaceDocument::domTemplate, V8TestInterfaceDocument::refObject
, V8TestInterfaceDocument::derefObject, V8TestInterfaceDocument::createPersisten
tHandle, 0, V8TestInterfaceDocument::toEventTarget, 0, V8TestInterfaceDocument::
installConditionallyEnabledMethods, V8TestInterfaceDocument::installConditionall
yEnabledProperties, &V8Document::wrapperTypeInfo, WrapperTypeObjectPrototype, Wi
llBeGarbageCollectedObject }; |
41 | 41 |
| 42 // The definition of TestInterfaceDocument's WrapperTypeInfo. If TestInterfaceDo
cument inherits |
| 43 // from ScriptWrappable, you have to write DEFINE_WRAPPERTYPEINFO macro in the |
| 44 // class definition. Otherwise, you have to write NotScriptWrappable in the IDL |
| 45 // file as an extended attribute in order to let IDL compiler know that |
| 46 // TestInterfaceDocument doesn't inherit from ScriptWrappable. Note that |
| 47 // NotScriptWrappable is inheritable. |
| 48 const WrapperTypeInfo& TestInterfaceDocument::s_wrapperTypeInfo = V8TestInterfac
eDocument::wrapperTypeInfo; |
| 49 |
42 namespace TestInterfaceDocumentV8Internal { | 50 namespace TestInterfaceDocumentV8Internal { |
43 | 51 |
44 template <typename T> void V8_USE(T) { } | 52 template <typename T> void V8_USE(T) { } |
45 | 53 |
46 } // namespace TestInterfaceDocumentV8Internal | 54 } // namespace TestInterfaceDocumentV8Internal |
47 | 55 |
48 static void installV8TestInterfaceDocumentTemplate(v8::Handle<v8::FunctionTempla
te> functionTemplate, v8::Isolate* isolate) | 56 static void installV8TestInterfaceDocumentTemplate(v8::Handle<v8::FunctionTempla
te> functionTemplate, v8::Isolate* isolate) |
49 { | 57 { |
50 functionTemplate->ReadOnlyPrototype(); | 58 functionTemplate->ReadOnlyPrototype(); |
51 | 59 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 #endif | 160 #endif |
153 } | 161 } |
154 | 162 |
155 template<> | 163 template<> |
156 v8::Handle<v8::Value> toV8NoInline(TestInterfaceDocument* impl, v8::Handle<v8::O
bject> creationContext, v8::Isolate* isolate) | 164 v8::Handle<v8::Value> toV8NoInline(TestInterfaceDocument* impl, v8::Handle<v8::O
bject> creationContext, v8::Isolate* isolate) |
157 { | 165 { |
158 return toV8(impl, creationContext, isolate); | 166 return toV8(impl, creationContext, isolate); |
159 } | 167 } |
160 | 168 |
161 } // namespace blink | 169 } // namespace blink |
OLD | NEW |