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 "V8TestInterfaceConstructor2.h" | 8 #include "V8TestInterfaceConstructor2.h" |
9 | 9 |
10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 v8::Local<v8::Object> wrapper = info.Holder(); | 63 v8::Local<v8::Object> wrapper = info.Holder(); |
64 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceConstructor2::
wrapperTypeInfo, wrapper); | 64 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceConstructor2::
wrapperTypeInfo, wrapper); |
65 v8SetReturnValue(info, wrapper); | 65 v8SetReturnValue(info, wrapper); |
66 } | 66 } |
67 | 67 |
68 static void constructor3(const v8::FunctionCallbackInfo<v8::Value>& info) | 68 static void constructor3(const v8::FunctionCallbackInfo<v8::Value>& info) |
69 { | 69 { |
70 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInte
rfaceConstructor2", info.Holder(), info.GetIsolate()); | 70 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInte
rfaceConstructor2", info.Holder(), info.GetIsolate()); |
71 Vector<Vector<String>> stringSequenceSequenceArg; | 71 Vector<Vector<String>> stringSequenceSequenceArg; |
72 { | 72 { |
73 stringSequenceSequenceArg = toImplArray<Vector<String>>(info[0], 1, info
.GetIsolate(), exceptionState); | 73 stringSequenceSequenceArg = toImplArray<Vector<Vector<String>>>(info[0],
1, info.GetIsolate(), exceptionState); |
74 if (exceptionState.throwIfNeeded()) | 74 if (exceptionState.throwIfNeeded()) |
75 return; | 75 return; |
76 } | 76 } |
77 RefPtr<TestInterfaceConstructor2> impl = TestInterfaceConstructor2::create(s
tringSequenceSequenceArg); | 77 RefPtr<TestInterfaceConstructor2> impl = TestInterfaceConstructor2::create(s
tringSequenceSequenceArg); |
78 v8::Local<v8::Object> wrapper = info.Holder(); | 78 v8::Local<v8::Object> wrapper = info.Holder(); |
79 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceConstructor2::
wrapperTypeInfo, wrapper); | 79 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceConstructor2::
wrapperTypeInfo, wrapper); |
80 v8SetReturnValue(info, wrapper); | 80 v8SetReturnValue(info, wrapper); |
81 } | 81 } |
82 | 82 |
83 static void constructor4(const v8::FunctionCallbackInfo<v8::Value>& info) | 83 static void constructor4(const v8::FunctionCallbackInfo<v8::Value>& info) |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 { | 248 { |
249 scriptWrappable->toImpl<TestInterfaceConstructor2>()->ref(); | 249 scriptWrappable->toImpl<TestInterfaceConstructor2>()->ref(); |
250 } | 250 } |
251 | 251 |
252 void V8TestInterfaceConstructor2::derefObject(ScriptWrappable* scriptWrappable) | 252 void V8TestInterfaceConstructor2::derefObject(ScriptWrappable* scriptWrappable) |
253 { | 253 { |
254 scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref(); | 254 scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref(); |
255 } | 255 } |
256 | 256 |
257 } // namespace blink | 257 } // namespace blink |
OLD | NEW |