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 "V8TestObject.h" | 8 #include "V8TestObject.h" |
9 | 9 |
10 #include "bindings/core/v8/BindingSecurity.h" | 10 #include "bindings/core/v8/BindingSecurity.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 #include "core/html/HTMLTableRowsCollection.h" | 62 #include "core/html/HTMLTableRowsCollection.h" |
63 #include "core/inspector/ScriptArguments.h" | 63 #include "core/inspector/ScriptArguments.h" |
64 #include "platform/RuntimeEnabledFeatures.h" | 64 #include "platform/RuntimeEnabledFeatures.h" |
65 #include "platform/ScriptForbiddenScope.h" | 65 #include "platform/ScriptForbiddenScope.h" |
66 #include "platform/TraceEvent.h" | 66 #include "platform/TraceEvent.h" |
67 #include "wtf/GetPtr.h" | 67 #include "wtf/GetPtr.h" |
68 #include "wtf/RefPtr.h" | 68 #include "wtf/RefPtr.h" |
69 | 69 |
70 namespace blink { | 70 namespace blink { |
71 | 71 |
72 static void initializeScriptWrappableForInterface(TestObject* impl) | |
73 { | |
74 impl->setTypeInfo(&V8TestObject::wrapperTypeInfo); | |
75 } | |
76 | |
77 } // namespace blink | |
78 | |
79 void webCoreInitializeScriptWrappableForInterface(blink::TestObject* object) | |
80 { | |
81 blink::initializeScriptWrappableForInterface(object); | |
82 } | |
83 | |
84 namespace blink { | |
85 | |
86 const WrapperTypeInfo V8TestObject::wrapperTypeInfo = { gin::kEmbedderBlink, V8T
estObject::domTemplate, V8TestObject::refObject, V8TestObject::derefObject, V8Te
stObject::createPersistentHandle, 0, 0, 0, V8TestObject::installConditionallyEna
bledMethods, V8TestObject::installConditionallyEnabledProperties, 0, WrapperType
Info::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInf
o::Independent, WrapperTypeInfo::RefCountedObject }; | 72 const WrapperTypeInfo V8TestObject::wrapperTypeInfo = { gin::kEmbedderBlink, V8T
estObject::domTemplate, V8TestObject::refObject, V8TestObject::derefObject, V8Te
stObject::createPersistentHandle, 0, 0, 0, V8TestObject::installConditionallyEna
bledMethods, V8TestObject::installConditionallyEnabledProperties, 0, WrapperType
Info::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInf
o::Independent, WrapperTypeInfo::RefCountedObject }; |
87 | 73 |
88 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestObject.h
. | 74 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestObject.h
. |
89 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 75 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
90 // bindings/core/v8/ScriptWrappable.h. | 76 // bindings/core/v8/ScriptWrappable.h. |
91 const WrapperTypeInfo& TestObject::s_wrapperTypeInfo = V8TestObject::wrapperType
Info; | 77 const WrapperTypeInfo& TestObject::s_wrapperTypeInfo = V8TestObject::wrapperType
Info; |
92 | 78 |
93 namespace TestObjectV8Internal { | 79 namespace TestObjectV8Internal { |
94 | 80 |
95 template <typename T> void V8_USE(T) { } | 81 template <typename T> void V8_USE(T) { } |
(...skipping 11292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11388 PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "enumF
orPrivateScript", holder, v8String(scriptState->isolate(), cppValue)); | 11374 PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "enumF
orPrivateScript", holder, v8String(scriptState->isolate(), cppValue)); |
11389 if (block.HasCaught()) { | 11375 if (block.HasCaught()) { |
11390 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat
e(), exceptionState, block); | 11376 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat
e(), exceptionState, block); |
11391 block.ReThrow(); | 11377 block.ReThrow(); |
11392 return false; | 11378 return false; |
11393 } | 11379 } |
11394 return true; | 11380 return true; |
11395 } | 11381 } |
11396 | 11382 |
11397 } // namespace blink | 11383 } // namespace blink |
OLD | NEW |