| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 } | 58 } |
| 59 RefPtr<TestInterfaceConstructor2> impl = TestInterfaceConstructor2::create(d
ictionaryArg); | 59 RefPtr<TestInterfaceConstructor2> impl = TestInterfaceConstructor2::create(d
ictionaryArg); |
| 60 v8::Local<v8::Object> wrapper = info.Holder(); | 60 v8::Local<v8::Object> wrapper = info.Holder(); |
| 61 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceConstructor2::
wrapperTypeInfo, wrapper); | 61 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceConstructor2::
wrapperTypeInfo, wrapper); |
| 62 v8SetReturnValue(info, wrapper); | 62 v8SetReturnValue(info, wrapper); |
| 63 } | 63 } |
| 64 | 64 |
| 65 static void constructor3(const v8::FunctionCallbackInfo<v8::Value>& info) | 65 static void constructor3(const v8::FunctionCallbackInfo<v8::Value>& info) |
| 66 { | 66 { |
| 67 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInte
rfaceConstructor2", info.Holder(), info.GetIsolate()); | 67 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInte
rfaceConstructor2", info.Holder(), info.GetIsolate()); |
| 68 Vector<Vector<String> > stringSequenceSequenceArg; | 68 Vector<Vector<String>> stringSequenceSequenceArg; |
| 69 { | 69 { |
| 70 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(stringSequenceSequenceArg, toImplA
rray<Vector<String>>(info[0], 1, info.GetIsolate(), exceptionState), exceptionSt
ate); | 70 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(stringSequenceSequenceArg, toImplA
rray<Vector<String>>(info[0], 1, info.GetIsolate(), exceptionState), exceptionSt
ate); |
| 71 } | 71 } |
| 72 RefPtr<TestInterfaceConstructor2> impl = TestInterfaceConstructor2::create(s
tringSequenceSequenceArg); | 72 RefPtr<TestInterfaceConstructor2> impl = TestInterfaceConstructor2::create(s
tringSequenceSequenceArg); |
| 73 v8::Local<v8::Object> wrapper = info.Holder(); | 73 v8::Local<v8::Object> wrapper = info.Holder(); |
| 74 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceConstructor2::
wrapperTypeInfo, wrapper); | 74 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceConstructor2::
wrapperTypeInfo, wrapper); |
| 75 v8SetReturnValue(info, wrapper); | 75 v8SetReturnValue(info, wrapper); |
| 76 } | 76 } |
| 77 | 77 |
| 78 static void constructor4(const v8::FunctionCallbackInfo<v8::Value>& info) | 78 static void constructor4(const v8::FunctionCallbackInfo<v8::Value>& info) |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 { | 233 { |
| 234 scriptWrappable->toImpl<TestInterfaceConstructor2>()->ref(); | 234 scriptWrappable->toImpl<TestInterfaceConstructor2>()->ref(); |
| 235 } | 235 } |
| 236 | 236 |
| 237 void V8TestInterfaceConstructor2::derefObject(ScriptWrappable* scriptWrappable) | 237 void V8TestInterfaceConstructor2::derefObject(ScriptWrappable* scriptWrappable) |
| 238 { | 238 { |
| 239 scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref(); | 239 scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref(); |
| 240 } | 240 } |
| 241 | 241 |
| 242 } // namespace blink | 242 } // namespace blink |
| OLD | NEW |