| 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 3582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3593 AddToImplIncludes("ScriptExecutionContext.h"); | 3593 AddToImplIncludes("ScriptExecutionContext.h"); |
| 3594 AddToImplIncludes("V8Binding.h"); | 3594 AddToImplIncludes("V8Binding.h"); |
| 3595 AddToImplIncludes("V8Callback.h"); | 3595 AddToImplIncludes("V8Callback.h"); |
| 3596 | 3596 |
| 3597 push(@implContent, "#include <wtf/Assertions.h>\n\n"); | 3597 push(@implContent, "#include <wtf/Assertions.h>\n\n"); |
| 3598 push(@implContent, "namespace WebCore {\n\n"); | 3598 push(@implContent, "namespace WebCore {\n\n"); |
| 3599 push(@implContent, <<END); | 3599 push(@implContent, <<END); |
| 3600 ${v8InterfaceName}::${v8InterfaceName}(v8::Handle<v8::Object> callback, ScriptEx
ecutionContext* context) | 3600 ${v8InterfaceName}::${v8InterfaceName}(v8::Handle<v8::Object> callback, ScriptEx
ecutionContext* context) |
| 3601 : ActiveDOMCallback(context) | 3601 : ActiveDOMCallback(context) |
| 3602 , m_callback(callback) | 3602 , m_callback(callback) |
| 3603 , m_world(DOMWrapperWorld::current(context)) | 3603 , m_world(DOMWrapperWorld::current()) |
| 3604 { | 3604 { |
| 3605 } | 3605 } |
| 3606 | 3606 |
| 3607 ${v8InterfaceName}::~${v8InterfaceName}() | 3607 ${v8InterfaceName}::~${v8InterfaceName}() |
| 3608 { | 3608 { |
| 3609 } | 3609 } |
| 3610 | 3610 |
| 3611 END | 3611 END |
| 3612 | 3612 |
| 3613 # Functions | 3613 # Functions |
| (...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4596 | 4596 |
| 4597 sub GetPassRefPtrType | 4597 sub GetPassRefPtrType |
| 4598 { | 4598 { |
| 4599 my $v8InterfaceName = shift; | 4599 my $v8InterfaceName = shift; |
| 4600 | 4600 |
| 4601 my $angleBracketSpace = $v8InterfaceName =~ />$/ ? " " : ""; | 4601 my $angleBracketSpace = $v8InterfaceName =~ />$/ ? " " : ""; |
| 4602 return "PassRefPtr<${v8InterfaceName}${angleBracketSpace}>"; | 4602 return "PassRefPtr<${v8InterfaceName}${angleBracketSpace}>"; |
| 4603 } | 4603 } |
| 4604 | 4604 |
| 4605 1; | 4605 1; |
| OLD | NEW |