| OLD | NEW |
| 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 4096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4107 my $nativeType = GetNativeTypeForConversions($interface); | 4107 my $nativeType = GetNativeTypeForConversions($interface); |
| 4108 | 4108 |
| 4109 AddToImplIncludes("bindings/v8/V8Binding.h"); | 4109 AddToImplIncludes("bindings/v8/V8Binding.h"); |
| 4110 AddToImplIncludes("bindings/v8/V8DOMWrapper.h"); | 4110 AddToImplIncludes("bindings/v8/V8DOMWrapper.h"); |
| 4111 AddToImplIncludes("core/dom/ContextFeatures.h"); | 4111 AddToImplIncludes("core/dom/ContextFeatures.h"); |
| 4112 AddToImplIncludes("core/dom/Document.h"); | 4112 AddToImplIncludes("core/dom/Document.h"); |
| 4113 AddToImplIncludes("RuntimeEnabledFeatures.h"); | 4113 AddToImplIncludes("RuntimeEnabledFeatures.h"); |
| 4114 AddToImplIncludes("platform/TraceEvent.h"); | 4114 AddToImplIncludes("platform/TraceEvent.h"); |
| 4115 | 4115 |
| 4116 AddIncludesForType($interfaceName); | 4116 AddIncludesForType($interfaceName); |
| 4117 if ($interface->extendedAttributes->{"CheckSecurity"}) { |
| 4118 AddToImplIncludes("bindings/v8/BindingSecurity.h"); |
| 4119 AddToImplIncludes("bindings/v8/ExceptionMessages.h"); |
| 4120 AddToImplIncludes("bindings/v8/ExceptionState.h"); |
| 4121 } |
| 4117 | 4122 |
| 4118 my $toActiveDOMObject = InheritsExtendedAttribute($interface, "ActiveDOMObje
ct") ? "${v8ClassName}::toActiveDOMObject" : "0"; | 4123 my $toActiveDOMObject = InheritsExtendedAttribute($interface, "ActiveDOMObje
ct") ? "${v8ClassName}::toActiveDOMObject" : "0"; |
| 4119 my $toEventTarget = InheritsInterface($interface, "EventTarget") ? "${v8Clas
sName}::toEventTarget" : "0"; | 4124 my $toEventTarget = InheritsInterface($interface, "EventTarget") ? "${v8Clas
sName}::toEventTarget" : "0"; |
| 4120 my $resolveWrapperReachability = NeedsResolveWrapperReachability($interface)
? "${v8ClassName}::resolveWrapperReachability" : "0"; | 4125 my $resolveWrapperReachability = NeedsResolveWrapperReachability($interface)
? "${v8ClassName}::resolveWrapperReachability" : "0"; |
| 4121 | 4126 |
| 4122 # Find the super descriptor. | 4127 # Find the super descriptor. |
| 4123 my $parentClass = ""; | 4128 my $parentClass = ""; |
| 4124 my $parentClassTemplate = ""; | 4129 my $parentClassTemplate = ""; |
| 4125 if ($interface->parent) { | 4130 if ($interface->parent) { |
| 4126 my $parent = $interface->parent; | 4131 my $parent = $interface->parent; |
| (...skipping 2183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6310 my $interface = shift; | 6315 my $interface = shift; |
| 6311 | 6316 |
| 6312 return 1 if $interface->extendedAttributes->{"CustomToV8"}; | 6317 return 1 if $interface->extendedAttributes->{"CustomToV8"}; |
| 6313 return 1 if $interface->extendedAttributes->{"SpecialWrapFor"}; | 6318 return 1 if $interface->extendedAttributes->{"SpecialWrapFor"}; |
| 6314 return 1 if InheritsInterface($interface, "Document"); | 6319 return 1 if InheritsInterface($interface, "Document"); |
| 6315 | 6320 |
| 6316 return 0; | 6321 return 0; |
| 6317 } | 6322 } |
| 6318 | 6323 |
| 6319 1; | 6324 1; |
| OLD | NEW |