| 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 "V8TestInterfaceConstructor.h" | 8 #include "V8TestInterfaceConstructor.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceConstructo
r* object) | 34 void webCoreInitializeScriptWrappableForInterface(blink::TestInterfaceConstructo
r* object) |
| 35 { | 35 { |
| 36 blink::initializeScriptWrappableForInterface(object); | 36 blink::initializeScriptWrappableForInterface(object); |
| 37 } | 37 } |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 const WrapperTypeInfo V8TestInterfaceConstructor::wrapperTypeInfo = { gin::kEmbe
dderBlink, V8TestInterfaceConstructor::domTemplate, V8TestInterfaceConstructor::
refObject, V8TestInterfaceConstructor::derefObject, V8TestInterfaceConstructor::
createPersistentHandle, 0, 0, 0, V8TestInterfaceConstructor::installConditionall
yEnabledMethods, V8TestInterfaceConstructor::installConditionallyEnabledProperti
es, 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClass
Id, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCountedObject }; | 41 const WrapperTypeInfo V8TestInterfaceConstructor::wrapperTypeInfo = { gin::kEmbe
dderBlink, V8TestInterfaceConstructor::domTemplate, V8TestInterfaceConstructor::
refObject, V8TestInterfaceConstructor::derefObject, V8TestInterfaceConstructor::
createPersistentHandle, 0, 0, 0, V8TestInterfaceConstructor::installConditionall
yEnabledMethods, V8TestInterfaceConstructor::installConditionallyEnabledProperti
es, 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClass
Id, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCountedObject }; |
| 42 | 42 |
| 43 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eConstructor.h. |
| 44 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 45 // bindings/core/v8/ScriptWrappable.h. |
| 46 const WrapperTypeInfo& TestInterfaceConstructor::s_wrapperTypeInfo = V8TestInter
faceConstructor::wrapperTypeInfo; |
| 47 |
| 43 namespace TestInterfaceConstructorV8Internal { | 48 namespace TestInterfaceConstructorV8Internal { |
| 44 | 49 |
| 45 template <typename T> void V8_USE(T) { } | 50 template <typename T> void V8_USE(T) { } |
| 46 | 51 |
| 47 static void constructor1(const v8::FunctionCallbackInfo<v8::Value>& info) | 52 static void constructor1(const v8::FunctionCallbackInfo<v8::Value>& info) |
| 48 { | 53 { |
| 49 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInte
rfaceConstructor", info.Holder(), info.GetIsolate()); | 54 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInte
rfaceConstructor", info.Holder(), info.GetIsolate()); |
| 50 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | 55 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 51 Document& document = *toDocument(currentExecutionContext(info.GetIsolate()))
; | 56 Document& document = *toDocument(currentExecutionContext(info.GetIsolate()))
; |
| 52 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(exe
cutionContext, document, exceptionState); | 57 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(exe
cutionContext, document, exceptionState); |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 return 0; | 393 return 0; |
| 389 } | 394 } |
| 390 | 395 |
| 391 template<> | 396 template<> |
| 392 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor* impl, v8::Handle<v8
::Object> creationContext, v8::Isolate* isolate) | 397 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor* impl, v8::Handle<v8
::Object> creationContext, v8::Isolate* isolate) |
| 393 { | 398 { |
| 394 return toV8(impl, creationContext, isolate); | 399 return toV8(impl, creationContext, isolate); |
| 395 } | 400 } |
| 396 | 401 |
| 397 } // namespace blink | 402 } // namespace blink |
| OLD | NEW |