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 4578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4589 my $v8ClassName = GetV8ClassName($interface); | 4589 my $v8ClassName = GetV8ClassName($interface); |
4590 | 4590 |
4591 AddToImplIncludes("core/dom/ScriptExecutionContext.h"); | 4591 AddToImplIncludes("core/dom/ScriptExecutionContext.h"); |
4592 AddToImplIncludes("bindings/v8/V8Binding.h"); | 4592 AddToImplIncludes("bindings/v8/V8Binding.h"); |
4593 AddToImplIncludes("bindings/v8/V8Callback.h"); | 4593 AddToImplIncludes("bindings/v8/V8Callback.h"); |
4594 AddToImplIncludes("wtf/Assertions.h"); | 4594 AddToImplIncludes("wtf/Assertions.h"); |
4595 | 4595 |
4596 $implementation{nameSpaceWebCore}->add(<<END); | 4596 $implementation{nameSpaceWebCore}->add(<<END); |
4597 ${v8ClassName}::${v8ClassName}(v8::Handle<v8::Object> callback, ScriptExecutionC
ontext* context) | 4597 ${v8ClassName}::${v8ClassName}(v8::Handle<v8::Object> callback, ScriptExecutionC
ontext* context) |
4598 : ActiveDOMCallback(context) | 4598 : ActiveDOMCallback(context) |
4599 , m_callback(isolateForScriptExecutionContext(context), callback) | 4599 , m_callback(toIsolate(context), callback) |
4600 , m_world(DOMWrapperWorld::current()) | 4600 , m_world(DOMWrapperWorld::current()) |
4601 { | 4601 { |
4602 } | 4602 } |
4603 | 4603 |
4604 END | 4604 END |
4605 | 4605 |
4606 $implementation{nameSpaceWebCore}->add(<<END); | 4606 $implementation{nameSpaceWebCore}->add(<<END); |
4607 ${v8ClassName}::~${v8ClassName}() | 4607 ${v8ClassName}::~${v8ClassName}() |
4608 { | 4608 { |
4609 } | 4609 } |
(...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6010 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { | 6010 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { |
6011 $found = 1; | 6011 $found = 1; |
6012 } | 6012 } |
6013 return 1 if $found; | 6013 return 1 if $found; |
6014 }, 0); | 6014 }, 0); |
6015 | 6015 |
6016 return $found; | 6016 return $found; |
6017 } | 6017 } |
6018 | 6018 |
6019 1; | 6019 1; |
OLD | NEW |