OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> |
3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 10 matching lines...) Expand all Loading... |
21 * Boston, MA 02110-1301, USA. | 21 * Boston, MA 02110-1301, USA. |
22 */ | 22 */ |
23 | 23 |
24 #include "config.h" | 24 #include "config.h" |
25 | 25 |
26 #include "core/svg/SVGElement.h" | 26 #include "core/svg/SVGElement.h" |
27 | 27 |
28 #include "bindings/core/v8/ScriptEventListener.h" | 28 #include "bindings/core/v8/ScriptEventListener.h" |
29 #include "core/HTMLNames.h" | 29 #include "core/HTMLNames.h" |
30 #include "core/SVGNames.h" | 30 #include "core/SVGNames.h" |
| 31 #include "core/V8SVGElementWrapperFactory.h" // FIXME: should be bindings/core/v
8 |
31 #include "core/XLinkNames.h" | 32 #include "core/XLinkNames.h" |
32 #include "core/XMLNames.h" | 33 #include "core/XMLNames.h" |
33 #include "core/css/CSSCursorImageValue.h" | 34 #include "core/css/CSSCursorImageValue.h" |
34 #include "core/css/parser/BisonCSSParser.h" | 35 #include "core/css/parser/BisonCSSParser.h" |
35 #include "core/css/resolver/StyleResolver.h" | 36 #include "core/css/resolver/StyleResolver.h" |
36 #include "core/dom/Document.h" | 37 #include "core/dom/Document.h" |
37 #include "core/dom/ElementTraversal.h" | 38 #include "core/dom/ElementTraversal.h" |
38 #include "core/dom/shadow/ShadowRoot.h" | 39 #include "core/dom/shadow/ShadowRoot.h" |
39 #include "core/events/Event.h" | 40 #include "core/events/Event.h" |
40 #include "core/frame/Settings.h" | 41 #include "core/frame/Settings.h" |
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1183 #endif | 1184 #endif |
1184 Element::trace(visitor); | 1185 Element::trace(visitor); |
1185 } | 1186 } |
1186 | 1187 |
1187 const AtomicString& SVGElement::eventParameterName() | 1188 const AtomicString& SVGElement::eventParameterName() |
1188 { | 1189 { |
1189 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con
structFromLiteral)); | 1190 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con
structFromLiteral)); |
1190 return evtString; | 1191 return evtString; |
1191 } | 1192 } |
1192 | 1193 |
| 1194 v8::Handle<v8::Object> SVGElement::wrap(v8::Handle<v8::Object> creationContext,
v8::Isolate* isolate) |
| 1195 { |
| 1196 return createV8SVGWrapper(this, creationContext, isolate); |
1193 } | 1197 } |
| 1198 |
| 1199 } // namespace blink |
OLD | NEW |