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

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

Issue 19007004: Get rid of CSSStyleSheet 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/css/CSSStyleSheet.h » ('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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 AddToImplIncludes("core/dom/EventListener.h"); 438 AddToImplIncludes("core/dom/EventListener.h");
439 } elsif ($type eq "SerializedScriptValue") { 439 } elsif ($type eq "SerializedScriptValue") {
440 AddToImplIncludes("bindings/v8/SerializedScriptValue.h"); 440 AddToImplIncludes("bindings/v8/SerializedScriptValue.h");
441 } elsif ($type eq "any" || IsCallbackFunctionType($type)) { 441 } elsif ($type eq "any" || IsCallbackFunctionType($type)) {
442 AddToImplIncludes("bindings/v8/ScriptValue.h"); 442 AddToImplIncludes("bindings/v8/ScriptValue.h");
443 } elsif ($type eq "ArrayBuffer") { 443 } elsif ($type eq "ArrayBuffer") {
444 AddToImplIncludes("bindings/v8/custom/V8ArrayBufferCustom.h"); 444 AddToImplIncludes("bindings/v8/custom/V8ArrayBufferCustom.h");
445 } else { 445 } else {
446 AddToImplIncludes("V8${type}.h"); 446 AddToImplIncludes("V8${type}.h");
447 } 447 }
448
449 # Additional includes
450 if ($type eq "CSSStyleSheet") {
451 AddToImplIncludes("core/css/CSSImportRule.h");
452 }
453 } 448 }
454 449
455 sub HeaderFilesForInterface 450 sub HeaderFilesForInterface
456 { 451 {
457 my $interfaceName = shift; 452 my $interfaceName = shift;
458 my $implClassName = shift; 453 my $implClassName = shift;
459 454
460 my @includes = (); 455 my @includes = ();
461 if (IsTypedArrayType($interfaceName) or $interfaceName eq "ArrayBuffer") { 456 if (IsTypedArrayType($interfaceName) or $interfaceName eq "ArrayBuffer") {
462 push(@includes, "wtf/${interfaceName}.h"); 457 push(@includes, "wtf/${interfaceName}.h");
(...skipping 5596 matching lines...) Expand 10 before | Expand all | Expand 10 after
6059 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { 6054 if ($currentInterface->extendedAttributes->{$extendedAttribute}) {
6060 $found = 1; 6055 $found = 1;
6061 } 6056 }
6062 return 1 if $found; 6057 return 1 if $found;
6063 }, 0); 6058 }, 0);
6064 6059
6065 return $found; 6060 return $found;
6066 } 6061 }
6067 6062
6068 1; 6063 1;
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSStyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698