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 7755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7766 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 7766 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
7767 } | 7767 } |
7768 | 7768 |
7769 static void voidMethodXPathNSResolverArgMethod(const v8::FunctionCallbackInfo<v8 ::Value>& info) | 7769 static void voidMethodXPathNSResolverArgMethod(const v8::FunctionCallbackInfo<v8 ::Value>& info) |
7770 { | 7770 { |
7771 if (UNLIKELY(info.Length() < 1)) { | 7771 if (UNLIKELY(info.Length() < 1)) { |
7772 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod(in fo.GetIsolate(), "voidMethodXPathNSResolverArg", "TestObject", 1, info.Length()) , info.GetIsolate()); | 7772 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod(in fo.GetIsolate(), "voidMethodXPathNSResolverArg", "TestObject", 1, info.Length()) , info.GetIsolate()); |
7773 return; | 7773 return; |
7774 } | 7774 } |
7775 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 7775 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
7776 RefPtrWillBeRawPtr<XPathNSResolver> xPathNSResolverArg; | 7776 RawPtr<XPathNSResolver> xPathNSResolverArg; |
haraken
2015/04/26 15:36:23
Ditto.
| |
7777 { | 7777 { |
7778 xPathNSResolverArg = toXPathNSResolver(ScriptState::current(info.GetIsol ate()), info[0]); | 7778 xPathNSResolverArg = toXPathNSResolver(ScriptState::current(info.GetIsol ate()), info[0]); |
7779 } | 7779 } |
7780 impl->voidMethodXPathNSResolverArg(xPathNSResolverArg.release()); | 7780 impl->voidMethodXPathNSResolverArg(xPathNSResolverArg.release()); |
7781 } | 7781 } |
7782 | 7782 |
7783 static void voidMethodXPathNSResolverArgMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info) | 7783 static void voidMethodXPathNSResolverArgMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info) |
7784 { | 7784 { |
7785 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 7785 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
7786 TestObjectV8Internal::voidMethodXPathNSResolverArgMethod(info); | 7786 TestObjectV8Internal::voidMethodXPathNSResolverArgMethod(info); |
(...skipping 5505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
13292 return false; | 13292 return false; |
13293 | 13293 |
13294 ScriptState::Scope scope(scriptState); | 13294 ScriptState::Scope scope(scriptState); |
13295 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa l(), scriptState->isolate()); | 13295 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa l(), scriptState->isolate()); |
13296 | 13296 |
13297 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ; | 13297 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ; |
13298 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue)); | 13298 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue)); |
13299 } | 13299 } |
13300 | 13300 |
13301 } // namespace blink | 13301 } // namespace blink |
OLD | NEW |