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

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

Issue 25777002: Move custom element code to core/dom/custom/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/bindings/tests/results/V8TestObject.cpp » ('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 1710 matching lines...) Expand 10 before | Expand all | Expand 10 after
1721 my $ext = shift; 1721 my $ext = shift;
1722 my $annotation = $ext->{"CustomElementCallbacks"} || ""; 1722 my $annotation = $ext->{"CustomElementCallbacks"} || "";
1723 1723
1724 if ($annotation eq "None") { 1724 if ($annotation eq "None") {
1725 # Explicit CustomElementCallbacks=None overrides any other 1725 # Explicit CustomElementCallbacks=None overrides any other
1726 # heuristic. 1726 # heuristic.
1727 return $code; 1727 return $code;
1728 } 1728 }
1729 1729
1730 if ($annotation eq "Enable" or $ext->{"Reflect"}) { 1730 if ($annotation eq "Enable" or $ext->{"Reflect"}) {
1731 AddToImplIncludes("core/dom/CustomElementCallbackDispatcher.h"); 1731 AddToImplIncludes("core/dom/custom/CustomElementCallbackDispatcher.h");
1732 $code .= <<END; 1732 $code .= <<END;
1733 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; 1733 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
1734 END 1734 END
1735 } 1735 }
1736 return $code; 1736 return $code;
1737 } 1737 }
1738 1738
1739 sub GenerateNormalAttributeSetterCallback 1739 sub GenerateNormalAttributeSetterCallback
1740 { 1740 {
1741 my $attribute = shift; 1741 my $attribute = shift;
(...skipping 4368 matching lines...) Expand 10 before | Expand all | Expand 10 after
6110 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { 6110 if ($currentInterface->extendedAttributes->{$extendedAttribute}) {
6111 $found = 1; 6111 $found = 1;
6112 } 6112 }
6113 return 1 if $found; 6113 return 1 if $found;
6114 }, 0); 6114 }, 0);
6115 6115
6116 return $found; 6116 return $found;
6117 } 6117 }
6118 6118
6119 1; 6119 1;
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698