| 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 5127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5138 if ($type eq "Dictionary") { | 5138 if ($type eq "Dictionary") { |
| 5139 AddToImplIncludes("bindings/v8/Dictionary.h"); | 5139 AddToImplIncludes("bindings/v8/Dictionary.h"); |
| 5140 return "Dictionary($value, $getIsolate)"; | 5140 return "Dictionary($value, $getIsolate)"; |
| 5141 } | 5141 } |
| 5142 | 5142 |
| 5143 if ($type eq "any" || IsCallbackFunctionType($type)) { | 5143 if ($type eq "any" || IsCallbackFunctionType($type)) { |
| 5144 AddToImplIncludes("bindings/v8/ScriptValue.h"); | 5144 AddToImplIncludes("bindings/v8/ScriptValue.h"); |
| 5145 return "ScriptValue($value)"; | 5145 return "ScriptValue($value)"; |
| 5146 } | 5146 } |
| 5147 | 5147 |
| 5148 if ($type eq "NodeFilter") { | |
| 5149 return "toNodeFilter($value)"; | |
| 5150 } | |
| 5151 | |
| 5152 if ($type eq "MediaQueryListListener") { | 5148 if ($type eq "MediaQueryListListener") { |
| 5153 AddToImplIncludes("core/css/MediaQueryListListener.h"); | 5149 AddToImplIncludes("core/css/MediaQueryListListener.h"); |
| 5154 return "MediaQueryListListener::create(" . $value . ")"; | 5150 return "MediaQueryListListener::create(" . $value . ")"; |
| 5155 } | 5151 } |
| 5156 | 5152 |
| 5157 if ($type eq "EventTarget") { | 5153 if ($type eq "EventTarget") { |
| 5158 return "V8DOMWrapper::isDOMWrapper($value) ? toWrapperTypeInfo(v8::Handl
e<v8::Object>::Cast($value))->toEventTarget(v8::Handle<v8::Object>::Cast($value)
) : 0"; | 5154 return "V8DOMWrapper::isDOMWrapper($value) ? toWrapperTypeInfo(v8::Handl
e<v8::Object>::Cast($value))->toEventTarget(v8::Handle<v8::Object>::Cast($value)
) : 0"; |
| 5159 } | 5155 } |
| 5160 | 5156 |
| 5161 if ($type eq "ArrayBuffer") { | 5157 if ($type eq "ArrayBuffer") { |
| (...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6016 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { | 6012 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { |
| 6017 $found = 1; | 6013 $found = 1; |
| 6018 } | 6014 } |
| 6019 return 1 if $found; | 6015 return 1 if $found; |
| 6020 }, 0); | 6016 }, 0); |
| 6021 | 6017 |
| 6022 return $found; | 6018 return $found; |
| 6023 } | 6019 } |
| 6024 | 6020 |
| 6025 1; | 6021 1; |
| OLD | NEW |