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

Side by Side Diff: third_party/WebKit/WebCore/bindings/scripts/CodeGeneratorJS.pm

Issue 39293: WebKit merge 41447:41498 [third_party/WebKit] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove CRLF Created 11 years, 9 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 # 1 #
2 # Copyright (C) 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 # Copyright (C) 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> 3 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com>
4 # Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 4 # Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
5 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> 5 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org>
6 # Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 6 # Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
7 # 7 #
8 # This library is free software; you can redistribute it and/or 8 # This library is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Library General Public 9 # modify it under the terms of the GNU Library General Public
10 # License as published by the Free Software Foundation; either 10 # License as published by the Free Software Foundation; either
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 return ""; 167 return "";
168 } 168 }
169 169
170 sub AddIncludesForType 170 sub AddIncludesForType
171 { 171 {
172 my $type = $codeGenerator->StripModule(shift); 172 my $type = $codeGenerator->StripModule(shift);
173 173
174 # When we're finished with the one-file-per-class 174 # When we're finished with the one-file-per-class
175 # reorganization, we won't need these special cases. 175 # reorganization, we won't need these special cases.
176 if ($codeGenerator->IsPrimitiveType($type) or AvoidInclusionOfType($type) 176 if ($codeGenerator->IsPrimitiveType($type) or AvoidInclusionOfType($type)
177 or $type eq "DOMString" or $type eq "DOMObject" or $type eq "RGBColor") { 177 or $type eq "DOMString" or $type eq "DOMObject" or $type eq "RGBColor" o r $type eq "Array") {
178 } elsif ($type =~ /SVGPathSeg/) { 178 } elsif ($type =~ /SVGPathSeg/) {
179 $joinedName = $type; 179 $joinedName = $type;
180 $joinedName =~ s/Abs|Rel//; 180 $joinedName =~ s/Abs|Rel//;
181 $implIncludes{"${joinedName}.h"} = 1; 181 $implIncludes{"${joinedName}.h"} = 1;
182 } elsif ($type eq "XPathNSResolver") { 182 } elsif ($type eq "XPathNSResolver") {
183 $implIncludes{"JSXPathNSResolver.h"} = 1; 183 $implIncludes{"JSXPathNSResolver.h"} = 1;
184 $implIncludes{"JSCustomXPathNSResolver.h"} = 1; 184 $implIncludes{"JSCustomXPathNSResolver.h"} = 1;
185 } else { 185 } else {
186 # default, include the same named file 186 # default, include the same named file
187 $implIncludes{"${type}.h"} = 1; 187 $implIncludes{"${type}.h"} = 1;
(...skipping 1820 matching lines...) Expand 10 before | Expand all | Expand 10 after
2008 2008
2009 EOF 2009 EOF
2010 2010
2011 $implKJSInclude{"JSNumberCell.h"} = 1; 2011 $implKJSInclude{"JSNumberCell.h"} = 1;
2012 2012
2013 return $implContent; 2013 return $implContent;
2014 } 2014 }
2015 2015
2016 1; 2016 1;
2017 2017
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698