Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Side by Side Diff: Source/bindings/tests/results/V8TestObject.cpp

Issue 309553002: Add ByteString support to IDL bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add [Default=NullString] support Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 impl->setStringAttribute(cppValue); 183 impl->setStringAttribute(cppValue);
184 } 184 }
185 185
186 static void stringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Lo cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 186 static void stringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Lo cal<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
187 { 187 {
188 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 188 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
189 TestObjectV8Internal::stringAttributeAttributeSetter(v8Value, info); 189 TestObjectV8Internal::stringAttributeAttributeSetter(v8Value, info);
190 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 190 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
191 } 191 }
192 192
193 static void byteStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8 ::Value>& info)
194 {
195 v8::Handle<v8::Object> holder = info.Holder();
196 TestObject* impl = V8TestObject::toNative(holder);
197 v8SetReturnValueString(info, impl->byteStringAttribute(), info.GetIsolate()) ;
198 }
199
200 static void byteStringAttributeAttributeGetterCallback(v8::Local<v8::String>, co nst v8::PropertyCallbackInfo<v8::Value>& info)
201 {
202 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
203 TestObjectV8Internal::byteStringAttributeAttributeGetter(info);
204 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
205 }
206
207 static void byteStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, con st v8::PropertyCallbackInfo<void>& info)
208 {
209 v8::Handle<v8::Object> holder = info.Holder();
210 ExceptionState exceptionState(ExceptionState::SetterContext, "byteStringAttr ibute", "TestObject", holder, info.GetIsolate());
211 TestObject* impl = V8TestObject::toNative(holder);
212 TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toByteString(v8Va lue, exceptionState), exceptionState);
213 impl->setByteStringAttribute(cppValue);
214 }
215
216 static void byteStringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8 ::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
217 {
218 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
219 TestObjectV8Internal::byteStringAttributeAttributeSetter(v8Value, info);
220 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
221 }
222
193 static void domTimeStampAttributeAttributeGetter(const v8::PropertyCallbackInfo< v8::Value>& info) 223 static void domTimeStampAttributeAttributeGetter(const v8::PropertyCallbackInfo< v8::Value>& info)
194 { 224 {
195 v8::Handle<v8::Object> holder = info.Holder(); 225 v8::Handle<v8::Object> holder = info.Holder();
196 TestObject* impl = V8TestObject::toNative(holder); 226 TestObject* impl = V8TestObject::toNative(holder);
197 v8SetReturnValue(info, static_cast<double>(impl->domTimeStampAttribute())); 227 v8SetReturnValue(info, static_cast<double>(impl->domTimeStampAttribute()));
198 } 228 }
199 229
200 static void domTimeStampAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 230 static void domTimeStampAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
201 { 231 {
202 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 232 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
(...skipping 4426 matching lines...) Expand 10 before | Expand all | Expand 10 after
4629 v8SetReturnValueString(info, impl->stringMethod(), info.GetIsolate()); 4659 v8SetReturnValueString(info, impl->stringMethod(), info.GetIsolate());
4630 } 4660 }
4631 4661
4632 static void stringMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value> & info) 4662 static void stringMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value> & info)
4633 { 4663 {
4634 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4664 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4635 TestObjectV8Internal::stringMethodMethod(info); 4665 TestObjectV8Internal::stringMethodMethod(info);
4636 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 4666 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
4637 } 4667 }
4638 4668
4669 static void byteStringMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& in fo)
4670 {
4671 TestObject* impl = V8TestObject::toNative(info.Holder());
4672 v8SetReturnValueString(info, impl->byteStringMethod(), info.GetIsolate());
4673 }
4674
4675 static void byteStringMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Va lue>& info)
4676 {
4677 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4678 TestObjectV8Internal::byteStringMethodMethod(info);
4679 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
4680 }
4681
4639 static void readonlyDOMTimeStampMethodMethod(const v8::FunctionCallbackInfo<v8:: Value>& info) 4682 static void readonlyDOMTimeStampMethodMethod(const v8::FunctionCallbackInfo<v8:: Value>& info)
4640 { 4683 {
4641 TestObject* impl = V8TestObject::toNative(info.Holder()); 4684 TestObject* impl = V8TestObject::toNative(info.Holder());
4642 v8SetReturnValue(info, static_cast<double>(impl->readonlyDOMTimeStampMethod( ))); 4685 v8SetReturnValue(info, static_cast<double>(impl->readonlyDOMTimeStampMethod( )));
4643 } 4686 }
4644 4687
4645 static void readonlyDOMTimeStampMethodMethodCallback(const v8::FunctionCallbackI nfo<v8::Value>& info) 4688 static void readonlyDOMTimeStampMethodMethodCallback(const v8::FunctionCallbackI nfo<v8::Value>& info)
4646 { 4689 {
4647 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4690 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4648 TestObjectV8Internal::readonlyDOMTimeStampMethodMethod(info); 4691 TestObjectV8Internal::readonlyDOMTimeStampMethodMethod(info);
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
4829 impl->voidMethodStringArg(stringArg); 4872 impl->voidMethodStringArg(stringArg);
4830 } 4873 }
4831 4874
4832 static void voidMethodStringArgMethodCallback(const v8::FunctionCallbackInfo<v8: :Value>& info) 4875 static void voidMethodStringArgMethodCallback(const v8::FunctionCallbackInfo<v8: :Value>& info)
4833 { 4876 {
4834 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4877 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4835 TestObjectV8Internal::voidMethodStringArgMethod(info); 4878 TestObjectV8Internal::voidMethodStringArgMethod(info);
4836 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 4879 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
4837 } 4880 }
4838 4881
4882 static void voidMethodByteStringArgMethod(const v8::FunctionCallbackInfo<v8::Val ue>& info)
4883 {
4884 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodB yteStringArg", "TestObject", info.Holder(), info.GetIsolate());
4885 if (UNLIKELY(info.Length() < 1)) {
4886 throwMinimumArityTypeError(exceptionState, 1, info.Length());
4887 return;
4888 }
4889 TestObject* impl = V8TestObject::toNative(info.Holder());
4890 V8StringResource<> stringArg;
4891 {
4892 v8::TryCatch block;
4893 V8RethrowTryCatchScope rethrow(block);
4894 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(stringArg, toByteString(info[0], e xceptionState), exceptionState);
4895 }
4896 impl->voidMethodByteStringArg(stringArg);
4897 }
4898
4899 static void voidMethodByteStringArgMethodCallback(const v8::FunctionCallbackInfo <v8::Value>& info)
4900 {
4901 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4902 TestObjectV8Internal::voidMethodByteStringArgMethod(info);
4903 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
4904 }
4905
4839 static void voidMethodDOMTimeStampArgMethod(const v8::FunctionCallbackInfo<v8::V alue>& info) 4906 static void voidMethodDOMTimeStampArgMethod(const v8::FunctionCallbackInfo<v8::V alue>& info)
4840 { 4907 {
4841 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodD OMTimeStampArg", "TestObject", info.Holder(), info.GetIsolate()); 4908 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodD OMTimeStampArg", "TestObject", info.Holder(), info.GetIsolate());
4842 if (UNLIKELY(info.Length() < 1)) { 4909 if (UNLIKELY(info.Length() < 1)) {
4843 throwMinimumArityTypeError(exceptionState, 1, info.Length()); 4910 throwMinimumArityTypeError(exceptionState, 1, info.Length());
4844 return; 4911 return;
4845 } 4912 }
4846 TestObject* impl = V8TestObject::toNative(info.Holder()); 4913 TestObject* impl = V8TestObject::toNative(info.Holder());
4847 unsigned long long domTimeStampArg; 4914 unsigned long long domTimeStampArg;
4848 { 4915 {
(...skipping 4108 matching lines...) Expand 10 before | Expand all | Expand 10 after
8957 } 9024 }
8958 9025
8959 } // namespace TestObjectV8Internal 9026 } // namespace TestObjectV8Internal
8960 9027
8961 static const V8DOMConfiguration::AttributeConfiguration V8TestObjectAttributes[] = { 9028 static const V8DOMConfiguration::AttributeConfiguration V8TestObjectAttributes[] = {
8962 {"readonlyStringAttribute", TestObjectV8Internal::readonlyStringAttributeAtt ributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), s tatic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9029 {"readonlyStringAttribute", TestObjectV8Internal::readonlyStringAttributeAtt ributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), s tatic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
8963 {"readonlyTestInterfaceEmptyAttribute", TestObjectV8Internal::readonlyTestIn terfaceEmptyAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::Access Control>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on ins tance */}, 9030 {"readonlyTestInterfaceEmptyAttribute", TestObjectV8Internal::readonlyTestIn terfaceEmptyAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::Access Control>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on ins tance */},
8964 {"readonlyLongAttribute", TestObjectV8Internal::readonlyLongAttributeAttribu teGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati c_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9031 {"readonlyLongAttribute", TestObjectV8Internal::readonlyLongAttributeAttribu teGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati c_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
8965 {"dateAttribute", TestObjectV8Internal::dateAttributeAttributeGetterCallback , TestObjectV8Internal::dateAttributeAttributeSetterCallback, 0, 0, 0, static_ca st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None) , 0 /* on instance */}, 9032 {"dateAttribute", TestObjectV8Internal::dateAttributeAttributeGetterCallback , TestObjectV8Internal::dateAttributeAttributeSetterCallback, 0, 0, 0, static_ca st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None) , 0 /* on instance */},
8966 {"stringAttribute", TestObjectV8Internal::stringAttributeAttributeGetterCall back, TestObjectV8Internal::stringAttributeAttributeSetterCallback, 0, 0, 0, sta tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8: :None), 0 /* on instance */}, 9033 {"stringAttribute", TestObjectV8Internal::stringAttributeAttributeGetterCall back, TestObjectV8Internal::stringAttributeAttributeSetterCallback, 0, 0, 0, sta tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8: :None), 0 /* on instance */},
9034 {"byteStringAttribute", TestObjectV8Internal::byteStringAttributeAttributeGe tterCallback, TestObjectV8Internal::byteStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt tribute>(v8::None), 0 /* on instance */},
8967 {"domTimeStampAttribute", TestObjectV8Internal::domTimeStampAttributeAttribu teGetterCallback, TestObjectV8Internal::domTimeStampAttributeAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */}, 9035 {"domTimeStampAttribute", TestObjectV8Internal::domTimeStampAttributeAttribu teGetterCallback, TestObjectV8Internal::domTimeStampAttributeAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */},
8968 {"booleanAttribute", TestObjectV8Internal::booleanAttributeAttributeGetterCa llback, TestObjectV8Internal::booleanAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>( v8::None), 0 /* on instance */}, 9036 {"booleanAttribute", TestObjectV8Internal::booleanAttributeAttributeGetterCa llback, TestObjectV8Internal::booleanAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>( v8::None), 0 /* on instance */},
8969 {"byteAttribute", TestObjectV8Internal::byteAttributeAttributeGetterCallback , TestObjectV8Internal::byteAttributeAttributeSetterCallback, 0, 0, 0, static_ca st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None) , 0 /* on instance */}, 9037 {"byteAttribute", TestObjectV8Internal::byteAttributeAttributeGetterCallback , TestObjectV8Internal::byteAttributeAttributeSetterCallback, 0, 0, 0, static_ca st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None) , 0 /* on instance */},
8970 {"doubleAttribute", TestObjectV8Internal::doubleAttributeAttributeGetterCall back, TestObjectV8Internal::doubleAttributeAttributeSetterCallback, 0, 0, 0, sta tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8: :None), 0 /* on instance */}, 9038 {"doubleAttribute", TestObjectV8Internal::doubleAttributeAttributeGetterCall back, TestObjectV8Internal::doubleAttributeAttributeSetterCallback, 0, 0, 0, sta tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8: :None), 0 /* on instance */},
8971 {"floatAttribute", TestObjectV8Internal::floatAttributeAttributeGetterCallba ck, TestObjectV8Internal::floatAttributeAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */}, 9039 {"floatAttribute", TestObjectV8Internal::floatAttributeAttributeGetterCallba ck, TestObjectV8Internal::floatAttributeAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */},
8972 {"longAttribute", TestObjectV8Internal::longAttributeAttributeGetterCallback , TestObjectV8Internal::longAttributeAttributeSetterCallback, 0, 0, 0, static_ca st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None) , 0 /* on instance */}, 9040 {"longAttribute", TestObjectV8Internal::longAttributeAttributeGetterCallback , TestObjectV8Internal::longAttributeAttributeSetterCallback, 0, 0, 0, static_ca st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None) , 0 /* on instance */},
8973 {"longLongAttribute", TestObjectV8Internal::longLongAttributeAttributeGetter Callback, TestObjectV8Internal::longLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut e>(v8::None), 0 /* on instance */}, 9041 {"longLongAttribute", TestObjectV8Internal::longLongAttributeAttributeGetter Callback, TestObjectV8Internal::longLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut e>(v8::None), 0 /* on instance */},
8974 {"octetAttribute", TestObjectV8Internal::octetAttributeAttributeGetterCallba ck, TestObjectV8Internal::octetAttributeAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */}, 9042 {"octetAttribute", TestObjectV8Internal::octetAttributeAttributeGetterCallba ck, TestObjectV8Internal::octetAttributeAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */},
8975 {"shortAttribute", TestObjectV8Internal::shortAttributeAttributeGetterCallba ck, TestObjectV8Internal::shortAttributeAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */}, 9043 {"shortAttribute", TestObjectV8Internal::shortAttributeAttributeGetterCallba ck, TestObjectV8Internal::shortAttributeAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */},
8976 {"unrestrictedDoubleAttribute", TestObjectV8Internal::unrestrictedDoubleAttr ibuteAttributeGetterCallback, TestObjectV8Internal::unrestrictedDoubleAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9044 {"unrestrictedDoubleAttribute", TestObjectV8Internal::unrestrictedDoubleAttr ibuteAttributeGetterCallback, TestObjectV8Internal::unrestrictedDoubleAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
9110 }; 9178 };
9111 9179
9112 static const V8DOMConfiguration::AccessorConfiguration V8TestObjectAccessors[] = { 9180 static const V8DOMConfiguration::AccessorConfiguration V8TestObjectAccessors[] = {
9113 {"exposeJSAccessorsLongAttribute", TestObjectV8Internal::exposeJSAccessorsLo ngAttributeAttributeGetterCallback, TestObjectV8Internal::exposeJSAccessorsLongA ttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF AULT), static_cast<v8::PropertyAttribute>(v8::None)}, 9181 {"exposeJSAccessorsLongAttribute", TestObjectV8Internal::exposeJSAccessorsLo ngAttributeAttributeGetterCallback, TestObjectV8Internal::exposeJSAccessorsLongA ttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF AULT), static_cast<v8::PropertyAttribute>(v8::None)},
9114 }; 9182 };
9115 9183
9116 static const V8DOMConfiguration::MethodConfiguration V8TestObjectMethods[] = { 9184 static const V8DOMConfiguration::MethodConfiguration V8TestObjectMethods[] = {
9117 {"voidMethod", TestObjectV8Internal::voidMethodMethodCallback, 0, 0}, 9185 {"voidMethod", TestObjectV8Internal::voidMethodMethodCallback, 0, 0},
9118 {"dateMethod", TestObjectV8Internal::dateMethodMethodCallback, 0, 0}, 9186 {"dateMethod", TestObjectV8Internal::dateMethodMethodCallback, 0, 0},
9119 {"stringMethod", TestObjectV8Internal::stringMethodMethodCallback, 0, 0}, 9187 {"stringMethod", TestObjectV8Internal::stringMethodMethodCallback, 0, 0},
9188 {"byteStringMethod", TestObjectV8Internal::byteStringMethodMethodCallback, 0 , 0},
9120 {"readonlyDOMTimeStampMethod", TestObjectV8Internal::readonlyDOMTimeStampMet hodMethodCallback, 0, 0}, 9189 {"readonlyDOMTimeStampMethod", TestObjectV8Internal::readonlyDOMTimeStampMet hodMethodCallback, 0, 0},
9121 {"booleanMethod", TestObjectV8Internal::booleanMethodMethodCallback, 0, 0}, 9190 {"booleanMethod", TestObjectV8Internal::booleanMethodMethodCallback, 0, 0},
9122 {"byteMethod", TestObjectV8Internal::byteMethodMethodCallback, 0, 0}, 9191 {"byteMethod", TestObjectV8Internal::byteMethodMethodCallback, 0, 0},
9123 {"doubleMethod", TestObjectV8Internal::doubleMethodMethodCallback, 0, 0}, 9192 {"doubleMethod", TestObjectV8Internal::doubleMethodMethodCallback, 0, 0},
9124 {"floatMethod", TestObjectV8Internal::floatMethodMethodCallback, 0, 0}, 9193 {"floatMethod", TestObjectV8Internal::floatMethodMethodCallback, 0, 0},
9125 {"longMethod", TestObjectV8Internal::longMethodMethodCallback, 0, 0}, 9194 {"longMethod", TestObjectV8Internal::longMethodMethodCallback, 0, 0},
9126 {"longLongMethod", TestObjectV8Internal::longLongMethodMethodCallback, 0, 0} , 9195 {"longLongMethod", TestObjectV8Internal::longLongMethodMethodCallback, 0, 0} ,
9127 {"octetMethod", TestObjectV8Internal::octetMethodMethodCallback, 0, 0}, 9196 {"octetMethod", TestObjectV8Internal::octetMethodMethodCallback, 0, 0},
9128 {"shortMethod", TestObjectV8Internal::shortMethodMethodCallback, 0, 0}, 9197 {"shortMethod", TestObjectV8Internal::shortMethodMethodCallback, 0, 0},
9129 {"unsignedLongMethod", TestObjectV8Internal::unsignedLongMethodMethodCallbac k, 0, 0}, 9198 {"unsignedLongMethod", TestObjectV8Internal::unsignedLongMethodMethodCallbac k, 0, 0},
9130 {"unsignedLongLongMethod", TestObjectV8Internal::unsignedLongLongMethodMetho dCallback, 0, 0}, 9199 {"unsignedLongLongMethod", TestObjectV8Internal::unsignedLongLongMethodMetho dCallback, 0, 0},
9131 {"unsignedShortMethod", TestObjectV8Internal::unsignedShortMethodMethodCallb ack, 0, 0}, 9200 {"unsignedShortMethod", TestObjectV8Internal::unsignedShortMethodMethodCallb ack, 0, 0},
9132 {"voidMethodDateArg", TestObjectV8Internal::voidMethodDateArgMethodCallback, 0, 1}, 9201 {"voidMethodDateArg", TestObjectV8Internal::voidMethodDateArgMethodCallback, 0, 1},
9133 {"voidMethodStringArg", TestObjectV8Internal::voidMethodStringArgMethodCallb ack, 0, 1}, 9202 {"voidMethodStringArg", TestObjectV8Internal::voidMethodStringArgMethodCallb ack, 0, 1},
9203 {"voidMethodByteStringArg", TestObjectV8Internal::voidMethodByteStringArgMet hodCallback, 0, 1},
9134 {"voidMethodDOMTimeStampArg", TestObjectV8Internal::voidMethodDOMTimeStampAr gMethodCallback, 0, 1}, 9204 {"voidMethodDOMTimeStampArg", TestObjectV8Internal::voidMethodDOMTimeStampAr gMethodCallback, 0, 1},
9135 {"voidMethodBooleanArg", TestObjectV8Internal::voidMethodBooleanArgMethodCal lback, 0, 1}, 9205 {"voidMethodBooleanArg", TestObjectV8Internal::voidMethodBooleanArgMethodCal lback, 0, 1},
9136 {"voidMethodByteArg", TestObjectV8Internal::voidMethodByteArgMethodCallback, 0, 1}, 9206 {"voidMethodByteArg", TestObjectV8Internal::voidMethodByteArgMethodCallback, 0, 1},
9137 {"voidMethodDoubleArg", TestObjectV8Internal::voidMethodDoubleArgMethodCallb ack, 0, 1}, 9207 {"voidMethodDoubleArg", TestObjectV8Internal::voidMethodDoubleArgMethodCallb ack, 0, 1},
9138 {"voidMethodFloatArg", TestObjectV8Internal::voidMethodFloatArgMethodCallbac k, 0, 1}, 9208 {"voidMethodFloatArg", TestObjectV8Internal::voidMethodFloatArgMethodCallbac k, 0, 1},
9139 {"voidMethodLongArg", TestObjectV8Internal::voidMethodLongArgMethodCallback, 0, 1}, 9209 {"voidMethodLongArg", TestObjectV8Internal::voidMethodLongArgMethodCallback, 0, 1},
9140 {"voidMethodLongLongArg", TestObjectV8Internal::voidMethodLongLongArgMethodC allback, 0, 1}, 9210 {"voidMethodLongLongArg", TestObjectV8Internal::voidMethodLongLongArgMethodC allback, 0, 1},
9141 {"voidMethodOctetArg", TestObjectV8Internal::voidMethodOctetArgMethodCallbac k, 0, 1}, 9211 {"voidMethodOctetArg", TestObjectV8Internal::voidMethodOctetArgMethodCallbac k, 0, 1},
9142 {"voidMethodShortArg", TestObjectV8Internal::voidMethodShortArgMethodCallbac k, 0, 1}, 9212 {"voidMethodShortArg", TestObjectV8Internal::voidMethodShortArgMethodCallbac k, 0, 1},
9143 {"voidMethodUnsignedLongArg", TestObjectV8Internal::voidMethodUnsignedLongAr gMethodCallback, 0, 1}, 9213 {"voidMethodUnsignedLongArg", TestObjectV8Internal::voidMethodUnsignedLongAr gMethodCallback, 0, 1},
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
9463 fromInternalPointer(object)->deref(); 9533 fromInternalPointer(object)->deref();
9464 } 9534 }
9465 9535
9466 template<> 9536 template<>
9467 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 9537 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
9468 { 9538 {
9469 return toV8(impl, creationContext, isolate); 9539 return toV8(impl, creationContext, isolate);
9470 } 9540 }
9471 9541
9472 } // namespace WebCore 9542 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698