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

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

Issue 14660019: Run Mutation Observer and Custom Element callbacks consistently at microtask checkpoint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing. Created 7 years, 6 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 # 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 1683 matching lines...) Expand 10 before | Expand all | Expand 10 after
1694 sub GenerateCustomElementInvocationScopeIfNeeded 1694 sub GenerateCustomElementInvocationScopeIfNeeded
1695 { 1695 {
1696 my $code = ""; 1696 my $code = "";
1697 my $ext = shift; 1697 my $ext = shift;
1698 1698
1699 if ($ext->{"DeliverCustomElementCallbacks"}) { 1699 if ($ext->{"DeliverCustomElementCallbacks"}) {
1700 if ($ext->{"Reflect"}) { 1700 if ($ext->{"Reflect"}) {
1701 die "IDL error: [Reflect] and [DeliverCustomElementCallbacks] cannot coexist yet"; 1701 die "IDL error: [Reflect] and [DeliverCustomElementCallbacks] cannot coexist yet";
1702 } 1702 }
1703 1703
1704 AddToImplIncludes("core/dom/CustomElementRegistry.h"); 1704 AddToImplIncludes("core/dom/CustomElementCallbackDispatcher.h");
1705 $code .= <<END; 1705 $code .= <<END;
1706 CustomElementRegistry::CallbackDeliveryScope deliveryScope; 1706 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
1707 END 1707 END
1708 } 1708 }
1709 return $code; 1709 return $code;
1710 } 1710 }
1711 1711
1712 sub GenerateNormalAttrSetterCallback 1712 sub GenerateNormalAttrSetterCallback
1713 { 1713 {
1714 my $attribute = shift; 1714 my $attribute = shift;
1715 my $interface = shift; 1715 my $interface = shift;
1716 my $forMainWorldSuffix = shift; 1716 my $forMainWorldSuffix = shift;
(...skipping 4323 matching lines...) Expand 10 before | Expand all | Expand 10 after
6040 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { 6040 if ($currentInterface->extendedAttributes->{$extendedAttribute}) {
6041 $found = 1; 6041 $found = 1;
6042 } 6042 }
6043 return 1 if $found; 6043 return 1 if $found;
6044 }, 0); 6044 }, 0);
6045 6045
6046 return $found; 6046 return $found;
6047 } 6047 }
6048 6048
6049 1; 6049 1;
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebKit.cpp ('k') | Source/bindings/v8/CustomElementConstructorBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698