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

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

Issue 50073004: We don't need to pass |creationContext| to v8SetReturnValue family (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 /* 1 /*
2 This file is part of the Blink open source project. 2 This file is part of the Blink open source project.
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
(...skipping 3648 matching lines...) Expand 10 before | Expand all | Expand 10 after
3659 static void voidMethodUnsignedShortArgMethodCallback(const v8::FunctionCallbackI nfo<v8::Value>& args) 3659 static void voidMethodUnsignedShortArgMethodCallback(const v8::FunctionCallbackI nfo<v8::Value>& args)
3660 { 3660 {
3661 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 3661 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
3662 TestObjectPythonV8Internal::voidMethodUnsignedShortArgMethod(args); 3662 TestObjectPythonV8Internal::voidMethodUnsignedShortArgMethod(args);
3663 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 3663 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
3664 } 3664 }
3665 3665
3666 static void testInterfaceEmptyMethodMethod(const v8::FunctionCallbackInfo<v8::Va lue>& args) 3666 static void testInterfaceEmptyMethodMethod(const v8::FunctionCallbackInfo<v8::Va lue>& args)
3667 { 3667 {
3668 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder()); 3668 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
3669 v8SetReturnValue(args, imp->testInterfaceEmptyMethod(), args.Holder()); 3669 v8SetReturnValue(args, imp->testInterfaceEmptyMethod());
3670 } 3670 }
3671 3671
3672 static void testInterfaceEmptyMethodMethodCallback(const v8::FunctionCallbackInf o<v8::Value>& args) 3672 static void testInterfaceEmptyMethodMethodCallback(const v8::FunctionCallbackInf o<v8::Value>& args)
3673 { 3673 {
3674 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 3674 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
3675 TestObjectPythonV8Internal::testInterfaceEmptyMethodMethod(args); 3675 TestObjectPythonV8Internal::testInterfaceEmptyMethodMethod(args);
3676 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 3676 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
3677 } 3677 }
3678 3678
3679 static void voidMethodTestInterfaceEmptyArgMethod(const v8::FunctionCallbackInfo <v8::Value>& args) 3679 static void voidMethodTestInterfaceEmptyArgMethod(const v8::FunctionCallbackInfo <v8::Value>& args)
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
3891 { 3891 {
3892 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 3892 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
3893 TestObjectPythonV8Internal::stringMethodOptionalLongArgMethod(args); 3893 TestObjectPythonV8Internal::stringMethodOptionalLongArgMethod(args);
3894 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 3894 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
3895 } 3895 }
3896 3896
3897 static void testInterfaceEmptyMethodOptionalLongArgMethod(const v8::FunctionCall backInfo<v8::Value>& args) 3897 static void testInterfaceEmptyMethodOptionalLongArgMethod(const v8::FunctionCall backInfo<v8::Value>& args)
3898 { 3898 {
3899 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder()); 3899 TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
3900 if (UNLIKELY(args.Length() <= 0)) { 3900 if (UNLIKELY(args.Length() <= 0)) {
3901 v8SetReturnValue(args, imp->testInterfaceEmptyMethodOptionalLongArg(), a rgs.Holder()); 3901 v8SetReturnValue(args, imp->testInterfaceEmptyMethodOptionalLongArg());
3902 return; 3902 return;
3903 } 3903 }
3904 V8TRYCATCH_VOID(int, optionalLongArg, toInt32(args[0])); 3904 V8TRYCATCH_VOID(int, optionalLongArg, toInt32(args[0]));
3905 v8SetReturnValue(args, imp->testInterfaceEmptyMethodOptionalLongArg(optional LongArg), args.Holder()); 3905 v8SetReturnValue(args, imp->testInterfaceEmptyMethodOptionalLongArg(optional LongArg));
3906 } 3906 }
3907 3907
3908 static void testInterfaceEmptyMethodOptionalLongArgMethodCallback(const v8::Func tionCallbackInfo<v8::Value>& args) 3908 static void testInterfaceEmptyMethodOptionalLongArgMethodCallback(const v8::Func tionCallbackInfo<v8::Value>& args)
3909 { 3909 {
3910 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 3910 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
3911 TestObjectPythonV8Internal::testInterfaceEmptyMethodOptionalLongArgMethod(ar gs); 3911 TestObjectPythonV8Internal::testInterfaceEmptyMethodOptionalLongArgMethod(ar gs);
3912 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 3912 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
3913 } 3913 }
3914 3914
3915 static void longMethodOptionalLongArgMethod(const v8::FunctionCallbackInfo<v8::V alue>& args) 3915 static void longMethodOptionalLongArgMethod(const v8::FunctionCallbackInfo<v8::V alue>& args)
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
4415 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT ypeInfo, wrapper, isolate, WrapperConfiguration::Independent); 4415 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT ypeInfo, wrapper, isolate, WrapperConfiguration::Independent);
4416 return wrapper; 4416 return wrapper;
4417 } 4417 }
4418 4418
4419 void V8TestObjectPython::derefObject(void* object) 4419 void V8TestObjectPython::derefObject(void* object)
4420 { 4420 {
4421 fromInternalPointer(object)->deref(); 4421 fromInternalPointer(object)->deref();
4422 } 4422 }
4423 4423
4424 } // namespace WebCore 4424 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestObjectPython.h ('k') | Source/bindings/tests/results/V8TestOverloadedConstructors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698