| 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 "V8TestObject.h" | 8 #include "V8TestObject.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/BindingSecurity.h" | 10 #include "bindings/core/v8/BindingSecurity.h" |
| (...skipping 6759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6770 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 6770 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 6771 } | 6771 } |
| 6772 | 6772 |
| 6773 static void voidMethodXPathNSResolverArgMethod(const v8::FunctionCallbackInfo<v8
::Value>& info) | 6773 static void voidMethodXPathNSResolverArgMethod(const v8::FunctionCallbackInfo<v8
::Value>& info) |
| 6774 { | 6774 { |
| 6775 if (UNLIKELY(info.Length() < 1)) { | 6775 if (UNLIKELY(info.Length() < 1)) { |
| 6776 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod(in
fo.GetIsolate(), "voidMethodXPathNSResolverArg", "TestObject", 1, info.Length())
, info.GetIsolate()); | 6776 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod(in
fo.GetIsolate(), "voidMethodXPathNSResolverArg", "TestObject", 1, info.Length())
, info.GetIsolate()); |
| 6777 return; | 6777 return; |
| 6778 } | 6778 } |
| 6779 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 6779 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 6780 RefPtrWillBeRawPtr<XPathNSResolver> xPathNSResolverArg; | 6780 RawPtr<XPathNSResolver> xPathNSResolverArg; |
| 6781 { | 6781 { |
| 6782 xPathNSResolverArg = toXPathNSResolver(info.GetIsolate(), info[0]); | 6782 xPathNSResolverArg = toXPathNSResolver(info.GetIsolate(), info[0]); |
| 6783 } | 6783 } |
| 6784 impl->voidMethodXPathNSResolverArg(xPathNSResolverArg.release()); | 6784 impl->voidMethodXPathNSResolverArg(xPathNSResolverArg.release()); |
| 6785 } | 6785 } |
| 6786 | 6786 |
| 6787 static void voidMethodXPathNSResolverArgMethodCallback(const v8::FunctionCallbac
kInfo<v8::Value>& info) | 6787 static void voidMethodXPathNSResolverArgMethodCallback(const v8::FunctionCallbac
kInfo<v8::Value>& info) |
| 6788 { | 6788 { |
| 6789 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 6789 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 6790 TestObjectV8Internal::voidMethodXPathNSResolverArgMethod(info); | 6790 TestObjectV8Internal::voidMethodXPathNSResolverArgMethod(info); |
| (...skipping 4391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11182 return false; | 11182 return false; |
| 11183 | 11183 |
| 11184 ScriptState::Scope scope(scriptState); | 11184 ScriptState::Scope scope(scriptState); |
| 11185 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob
al(), scriptState->isolate()); | 11185 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob
al(), scriptState->isolate()); |
| 11186 | 11186 |
| 11187 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; | 11187 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; |
| 11188 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); | 11188 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); |
| 11189 } | 11189 } |
| 11190 | 11190 |
| 11191 } // namespace blink | 11191 } // namespace blink |
| OLD | NEW |