| 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 "V8TestTypedefs.h" | 8 #include "V8TestTypedefs.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 | 159 |
| 160 static void uLongLongMethodTestInterfaceEmptyTypeSequenceArgMethod(const v8::Fun
ctionCallbackInfo<v8::Value>& info) | 160 static void uLongLongMethodTestInterfaceEmptyTypeSequenceArgMethod(const v8::Fun
ctionCallbackInfo<v8::Value>& info) |
| 161 { | 161 { |
| 162 ExceptionState exceptionState(ExceptionState::ExecutionContext, "uLongLongMe
thodTestInterfaceEmptyTypeSequenceArg", "TestTypedefs", info.Holder(), info.GetI
solate()); | 162 ExceptionState exceptionState(ExceptionState::ExecutionContext, "uLongLongMe
thodTestInterfaceEmptyTypeSequenceArg", "TestTypedefs", info.Holder(), info.GetI
solate()); |
| 163 if (UNLIKELY(info.Length() < 1)) { | 163 if (UNLIKELY(info.Length() < 1)) { |
| 164 setMinimumArityTypeError(exceptionState, 1, info.Length()); | 164 setMinimumArityTypeError(exceptionState, 1, info.Length()); |
| 165 exceptionState.throwIfNeeded(); | 165 exceptionState.throwIfNeeded(); |
| 166 return; | 166 return; |
| 167 } | 167 } |
| 168 TestTypedefs* impl = V8TestTypedefs::toImpl(info.Holder()); | 168 TestTypedefs* impl = V8TestTypedefs::toImpl(info.Holder()); |
| 169 Vector<RefPtr<TestInterfaceEmpty> > testInterfaceEmptyTypeSequenceArg; | 169 Vector<RefPtr<TestInterfaceEmpty>> testInterfaceEmptyTypeSequenceArg; |
| 170 { | 170 { |
| 171 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(testInterfaceEmptyTypeSequenceArg,
(toRefPtrNativeArray<TestInterfaceEmpty, V8TestInterfaceEmpty>(info[0], 1, info
.GetIsolate(), exceptionState)), exceptionState); | 171 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(testInterfaceEmptyTypeSequenceArg,
(toRefPtrNativeArray<TestInterfaceEmpty, V8TestInterfaceEmpty>(info[0], 1, info
.GetIsolate(), exceptionState)), exceptionState); |
| 172 } | 172 } |
| 173 v8SetReturnValue(info, static_cast<double>(impl->uLongLongMethodTestInterfac
eEmptyTypeSequenceArg(testInterfaceEmptyTypeSequenceArg))); | 173 v8SetReturnValue(info, static_cast<double>(impl->uLongLongMethodTestInterfac
eEmptyTypeSequenceArg(testInterfaceEmptyTypeSequenceArg))); |
| 174 } | 174 } |
| 175 | 175 |
| 176 static void uLongLongMethodTestInterfaceEmptyTypeSequenceArgMethodCallback(const
v8::FunctionCallbackInfo<v8::Value>& info) | 176 static void uLongLongMethodTestInterfaceEmptyTypeSequenceArgMethodCallback(const
v8::FunctionCallbackInfo<v8::Value>& info) |
| 177 { | 177 { |
| 178 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 178 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 179 TestTypedefsV8Internal::uLongLongMethodTestInterfaceEmptyTypeSequenceArgMeth
od(info); | 179 TestTypedefsV8Internal::uLongLongMethodTestInterfaceEmptyTypeSequenceArgMeth
od(info); |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 { | 350 { |
| 351 scriptWrappable->toImpl<TestTypedefs>()->ref(); | 351 scriptWrappable->toImpl<TestTypedefs>()->ref(); |
| 352 } | 352 } |
| 353 | 353 |
| 354 void V8TestTypedefs::derefObject(ScriptWrappable* scriptWrappable) | 354 void V8TestTypedefs::derefObject(ScriptWrappable* scriptWrappable) |
| 355 { | 355 { |
| 356 scriptWrappable->toImpl<TestTypedefs>()->deref(); | 356 scriptWrappable->toImpl<TestTypedefs>()->deref(); |
| 357 } | 357 } |
| 358 | 358 |
| 359 } // namespace blink | 359 } // namespace blink |
| OLD | NEW |