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

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

Issue 18098007: Get rid of SVGPoint special case from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.cpp ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 static void funcWithClampMethodCallback(const v8::FunctionCallbackInfo<v8::Value >& args) 396 static void funcWithClampMethodCallback(const v8::FunctionCallbackInfo<v8::Value >& args)
397 { 397 {
398 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 398 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
399 TestTypedefsV8Internal::funcWithClampMethod(args); 399 TestTypedefsV8Internal::funcWithClampMethod(args);
400 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 400 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
401 } 401 }
402 402
403 static void immutablePointFunctionMethod(const v8::FunctionCallbackInfo<v8::Valu e>& args) 403 static void immutablePointFunctionMethod(const v8::FunctionCallbackInfo<v8::Valu e>& args)
404 { 404 {
405 TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder()); 405 TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder());
406 v8SetReturnValue(args, toV8(WTF::getPtr(SVGPropertyTearOff<FloatPoint>::crea te(imp->immutablePointFunction())), args.Holder(), args.GetIsolate())); 406 v8SetReturnValue(args, toV8(WTF::getPtr(SVGPropertyTearOff<SVGPoint>::create (imp->immutablePointFunction())), args.Holder(), args.GetIsolate()));
407 return; 407 return;
408 } 408 }
409 409
410 static void immutablePointFunctionMethodCallback(const v8::FunctionCallbackInfo< v8::Value>& args) 410 static void immutablePointFunctionMethodCallback(const v8::FunctionCallbackInfo< v8::Value>& args)
411 { 411 {
412 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 412 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
413 TestTypedefsV8Internal::immutablePointFunctionMethod(args); 413 TestTypedefsV8Internal::immutablePointFunctionMethod(args);
414 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 414 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
415 } 415 }
416 416
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 installPerContextProperties(wrapper, impl.get(), isolate); 605 installPerContextProperties(wrapper, impl.get(), isolate);
606 V8DOMWrapper::associateObjectWithWrapper<V8TestTypedefs>(impl, &info, wrappe r, isolate, WrapperConfiguration::Independent); 606 V8DOMWrapper::associateObjectWithWrapper<V8TestTypedefs>(impl, &info, wrappe r, isolate, WrapperConfiguration::Independent);
607 return wrapper; 607 return wrapper;
608 } 608 }
609 void V8TestTypedefs::derefObject(void* object) 609 void V8TestTypedefs::derefObject(void* object)
610 { 610 {
611 fromInternalPointer(object)->deref(); 611 fromInternalPointer(object)->deref();
612 } 612 }
613 613
614 } // namespace WebCore 614 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.cpp ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698