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 "HTMLNames.h" | 10 #include "HTMLNames.h" |
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 { | 851 { |
852 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 852 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
853 TestObjectV8Internal::nodeFilterAttributeAttributeGetter(info); | 853 TestObjectV8Internal::nodeFilterAttributeAttributeGetter(info); |
854 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 854 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
855 } | 855 } |
856 | 856 |
857 static void nodeFilterAttributeAttributeSetter(v8::Local<v8::Value> v8Value, con
st v8::PropertyCallbackInfo<void>& info) | 857 static void nodeFilterAttributeAttributeSetter(v8::Local<v8::Value> v8Value, con
st v8::PropertyCallbackInfo<void>& info) |
858 { | 858 { |
859 v8::Handle<v8::Object> holder = info.Holder(); | 859 v8::Handle<v8::Object> holder = info.Holder(); |
860 TestObject* impl = V8TestObject::toNative(holder); | 860 TestObject* impl = V8TestObject::toNative(holder); |
861 TONATIVE_VOID(RefPtr<NodeFilter>, cppValue, toNodeFilter(v8Value, info.GetIs
olate())); | 861 TONATIVE_VOID(RefPtrWillBeRawPtr<NodeFilter>, cppValue, toNodeFilter(v8Value
, info.GetIsolate())); |
862 impl->setNodeFilterAttribute(WTF::getPtr(cppValue)); | 862 impl->setNodeFilterAttribute(WTF::getPtr(cppValue)); |
863 } | 863 } |
864 | 864 |
865 static void nodeFilterAttributeAttributeSetterCallback(v8::Local<v8::String>, v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 865 static void nodeFilterAttributeAttributeSetterCallback(v8::Local<v8::String>, v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
866 { | 866 { |
867 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 867 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
868 TestObjectV8Internal::nodeFilterAttributeAttributeSetter(v8Value, info); | 868 TestObjectV8Internal::nodeFilterAttributeAttributeSetter(v8Value, info); |
869 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 869 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
870 } | 870 } |
871 | 871 |
(...skipping 5067 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5939 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 5939 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
5940 } | 5940 } |
5941 | 5941 |
5942 static void voidMethodNodeFilterArgMethod(const v8::FunctionCallbackInfo<v8::Val
ue>& info) | 5942 static void voidMethodNodeFilterArgMethod(const v8::FunctionCallbackInfo<v8::Val
ue>& info) |
5943 { | 5943 { |
5944 if (UNLIKELY(info.Length() < 1)) { | 5944 if (UNLIKELY(info.Length() < 1)) { |
5945 throwMinimumArityTypeErrorForMethod("voidMethodNodeFilterArg", "TestObje
ct", 1, info.Length(), info.GetIsolate()); | 5945 throwMinimumArityTypeErrorForMethod("voidMethodNodeFilterArg", "TestObje
ct", 1, info.Length(), info.GetIsolate()); |
5946 return; | 5946 return; |
5947 } | 5947 } |
5948 TestObject* impl = V8TestObject::toNative(info.Holder()); | 5948 TestObject* impl = V8TestObject::toNative(info.Holder()); |
5949 TONATIVE_VOID(RefPtr<NodeFilter>, nodeFilterArg, toNodeFilter(info[0], info.
GetIsolate())); | 5949 TONATIVE_VOID(RefPtrWillBeRawPtr<NodeFilter>, nodeFilterArg, toNodeFilter(in
fo[0], info.GetIsolate())); |
5950 impl->voidMethodNodeFilterArg(nodeFilterArg.release()); | 5950 impl->voidMethodNodeFilterArg(nodeFilterArg.release()); |
5951 } | 5951 } |
5952 | 5952 |
5953 static void voidMethodNodeFilterArgMethodCallback(const v8::FunctionCallbackInfo
<v8::Value>& info) | 5953 static void voidMethodNodeFilterArgMethodCallback(const v8::FunctionCallbackInfo
<v8::Value>& info) |
5954 { | 5954 { |
5955 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 5955 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
5956 TestObjectV8Internal::voidMethodNodeFilterArgMethod(info); | 5956 TestObjectV8Internal::voidMethodNodeFilterArgMethod(info); |
5957 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 5957 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
5958 } | 5958 } |
5959 | 5959 |
(...skipping 2903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8863 fromInternalPointer(object)->deref(); | 8863 fromInternalPointer(object)->deref(); |
8864 } | 8864 } |
8865 | 8865 |
8866 template<> | 8866 template<> |
8867 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) | 8867 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) |
8868 { | 8868 { |
8869 return toV8(impl, creationContext, isolate); | 8869 return toV8(impl, creationContext, isolate); |
8870 } | 8870 } |
8871 | 8871 |
8872 } // namespace WebCore | 8872 } // namespace WebCore |
OLD | NEW |