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 "V8TestInterface5.h" | 7 #include "V8TestInterface5.h" |
8 | 8 |
9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
10 #include "bindings/core/v8/ScriptState.h" | 10 #include "bindings/core/v8/ScriptState.h" |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 | 296 |
297 static void windowExposedAttributeAttributeSetterCallback(const v8::FunctionCall
backInfo<v8::Value>& info) | 297 static void windowExposedAttributeAttributeSetterCallback(const v8::FunctionCall
backInfo<v8::Value>& info) |
298 { | 298 { |
299 v8::Local<v8::Value> v8Value = info[0]; | 299 v8::Local<v8::Value> v8Value = info[0]; |
300 TestInterface5ImplementationV8Internal::windowExposedAttributeAttributeSette
r(v8Value, info); | 300 TestInterface5ImplementationV8Internal::windowExposedAttributeAttributeSette
r(v8Value, info); |
301 } | 301 } |
302 | 302 |
303 static void voidMethodTestInterfaceEmptyArgMethod(const v8::FunctionCallbackInfo
<v8::Value>& info) | 303 static void voidMethodTestInterfaceEmptyArgMethod(const v8::FunctionCallbackInfo
<v8::Value>& info) |
304 { | 304 { |
305 if (UNLIKELY(info.Length() < 1)) { | 305 if (UNLIKELY(info.Length() < 1)) { |
306 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod(in
fo.GetIsolate(), "voidMethodTestInterfaceEmptyArg", "TestInterface5", 1, info.Le
ngth()), info.GetIsolate()); | 306 V8ThrowException::throwException(info.GetIsolate(), createMinimumArityTy
peErrorForMethod(info.GetIsolate(), "voidMethodTestInterfaceEmptyArg", "TestInte
rface5", 1, info.Length())); |
307 return; | 307 return; |
308 } | 308 } |
309 TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder())
; | 309 TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder())
; |
310 TestInterfaceEmpty* testInterfaceEmptyArg; | 310 TestInterfaceEmpty* testInterfaceEmptyArg; |
311 { | 311 { |
312 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.G
etIsolate(), info[0]); | 312 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.G
etIsolate(), info[0]); |
313 if (!testInterfaceEmptyArg) { | 313 if (!testInterfaceEmptyArg) { |
314 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessage
s::failedToExecute("voidMethodTestInterfaceEmptyArg", "TestInterface5", "paramet
er 1 is not of type 'TestInterfaceEmpty'.")); | 314 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessage
s::failedToExecute("voidMethodTestInterfaceEmptyArg", "TestInterface5", "paramet
er 1 is not of type 'TestInterfaceEmpty'.")); |
315 return; | 315 return; |
316 } | 316 } |
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
922 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet
hodMethodConfiguration); | 922 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet
hodMethodConfiguration); |
923 } | 923 } |
924 } | 924 } |
925 | 925 |
926 ActiveScriptWrappable* V8TestInterface5::toActiveScriptWrappable(v8::Local<v8::O
bject> wrapper) | 926 ActiveScriptWrappable* V8TestInterface5::toActiveScriptWrappable(v8::Local<v8::O
bject> wrapper) |
927 { | 927 { |
928 return toImpl(wrapper); | 928 return toImpl(wrapper); |
929 } | 929 } |
930 | 930 |
931 } // namespace blink | 931 } // namespace blink |
OLD | NEW |