Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Side by Side Diff: Source/WebCore/svg/SVGCursorElement.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired) 43 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired)
44 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests) 44 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests)
45 END_REGISTER_ANIMATED_PROPERTIES 45 END_REGISTER_ANIMATED_PROPERTIES
46 46
47 inline SVGCursorElement::SVGCursorElement(const QualifiedName& tagName, Document * document) 47 inline SVGCursorElement::SVGCursorElement(const QualifiedName& tagName, Document * document)
48 : SVGElement(tagName, document) 48 : SVGElement(tagName, document)
49 , m_x(LengthModeWidth) 49 , m_x(LengthModeWidth)
50 , m_y(LengthModeHeight) 50 , m_y(LengthModeHeight)
51 { 51 {
52 ASSERT(hasTagName(SVGNames::cursorTag)); 52 ASSERT(hasTagName(SVGNames::cursorTag));
53 ScriptWrappable::init(this);
53 registerAnimatedPropertiesForSVGCursorElement(); 54 registerAnimatedPropertiesForSVGCursorElement();
54 } 55 }
55 56
56 PassRefPtr<SVGCursorElement> SVGCursorElement::create(const QualifiedName& tagNa me, Document* document) 57 PassRefPtr<SVGCursorElement> SVGCursorElement::create(const QualifiedName& tagNa me, Document* document)
57 { 58 {
58 return adoptRef(new SVGCursorElement(tagName, document)); 59 return adoptRef(new SVGCursorElement(tagName, document));
59 } 60 }
60 61
61 SVGCursorElement::~SVGCursorElement() 62 SVGCursorElement::~SVGCursorElement()
62 { 63 {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 void SVGCursorElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) cons t 138 void SVGCursorElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) cons t
138 { 139 {
139 SVGElement::addSubresourceAttributeURLs(urls); 140 SVGElement::addSubresourceAttributeURLs(urls);
140 141
141 addSubresourceURL(urls, document()->completeURL(href())); 142 addSubresourceURL(urls, document()->completeURL(href()));
142 } 143 }
143 144
144 } 145 }
145 146
146 #endif // ENABLE(SVG) 147 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGComponentTransferFunctionElement.cpp ('k') | Source/WebCore/svg/SVGDefsElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698