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

Side by Side Diff: Source/bindings/scripts/deprecated_code_generator_v8.pm

Issue 18706003: Get rid of SVGPathSeg* special casing in 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 | « no previous file | 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 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> 1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> 2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com>
3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> 4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org>
5 # Copyright (C) 2006 Apple Computer, Inc. 5 # Copyright (C) 2006 Apple Computer, Inc.
6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc. 6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc.
7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> 7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. 8 # Copyright (C) Research In Motion Limited 2010. All rights reserved.
9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
10 # Copyright (C) 2012 Ericsson AB. All rights reserved. 10 # Copyright (C) 2012 Ericsson AB. All rights reserved.
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 } 453 }
454 454
455 sub HeaderFilesForInterface 455 sub HeaderFilesForInterface
456 { 456 {
457 my $interfaceName = shift; 457 my $interfaceName = shift;
458 my $implClassName = shift; 458 my $implClassName = shift;
459 459
460 my @includes = (); 460 my @includes = ();
461 if (IsTypedArrayType($interfaceName) or $interfaceName eq "ArrayBuffer") { 461 if (IsTypedArrayType($interfaceName) or $interfaceName eq "ArrayBuffer") {
462 push(@includes, "wtf/${interfaceName}.h"); 462 push(@includes, "wtf/${interfaceName}.h");
463 } elsif ($interfaceName =~ /SVGPathSeg/) {
464 $interfaceName =~ s/Abs|Rel//;
465 push(@includes, "core/svg/${interfaceName}.h");
466 } elsif (!SkipIncludeHeader($interfaceName)) { 463 } elsif (!SkipIncludeHeader($interfaceName)) {
467 my $idlFilename = IDLFileForInterface($interfaceName) or die("Could NOT find IDL file for interface \"$interfaceName\" $!\n"); 464 my $idlFilename = IDLFileForInterface($interfaceName) or die("Could NOT find IDL file for interface \"$interfaceName\" $!\n");
468 my $idlRelPath= "bindings/" . File::Spec->abs2rel($idlFilename, $sourceR oot); 465 my $idlRelPath= "bindings/" . File::Spec->abs2rel($idlFilename, $sourceR oot);
469 push(@includes, dirname($idlRelPath) . "/" . $implClassName . ".h"); 466 push(@includes, dirname($idlRelPath) . "/" . $implClassName . ".h");
470 } 467 }
471 return @includes; 468 return @includes;
472 } 469 }
473 470
474 sub NeedsOpaqueRootForGC 471 sub NeedsOpaqueRootForGC
475 { 472 {
(...skipping 5583 matching lines...) Expand 10 before | Expand all | Expand 10 after
6059 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { 6056 if ($currentInterface->extendedAttributes->{$extendedAttribute}) {
6060 $found = 1; 6057 $found = 1;
6061 } 6058 }
6062 return 1 if $found; 6059 return 1 if $found;
6063 }, 0); 6060 }, 0);
6064 6061
6065 return $found; 6062 return $found;
6066 } 6063 }
6067 6064
6068 1; 6065 1;
OLDNEW
« no previous file with comments | « no previous file | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698