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

Side by Side Diff: Source/core/svg/SVGUseElement.cpp

Issue 177703004: [SVG] Remove SVGAnimatedPropertyMacros.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove ws Created 6 years, 9 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
« no previous file with comments | « Source/core/svg/SVGUseElement.h ('k') | Source/core/svg/SVGViewElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. 5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
6 * Copyright (C) 2012 University of Szeged 6 * Copyright (C) 2012 University of Szeged
7 * Copyright (C) 2012 Renata Hodovan <reni@webkit.org> 7 * Copyright (C) 2012 Renata Hodovan <reni@webkit.org>
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "core/xml/parser/XMLDocumentParser.h" 44 #include "core/xml/parser/XMLDocumentParser.h"
45 45
46 // Dump SVGElementInstance object tree - useful to debug instanceRoot problems 46 // Dump SVGElementInstance object tree - useful to debug instanceRoot problems
47 // #define DUMP_INSTANCE_TREE 47 // #define DUMP_INSTANCE_TREE
48 48
49 // Dump the deep-expanded shadow tree (where the renderers are built from) 49 // Dump the deep-expanded shadow tree (where the renderers are built from)
50 // #define DUMP_SHADOW_TREE 50 // #define DUMP_SHADOW_TREE
51 51
52 namespace WebCore { 52 namespace WebCore {
53 53
54 // Animated property definitions
55
56 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGUseElement)
57 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGraphicsElement)
58 END_REGISTER_ANIMATED_PROPERTIES
59
60 inline SVGUseElement::SVGUseElement(Document& document, bool wasInsertedByParser ) 54 inline SVGUseElement::SVGUseElement(Document& document, bool wasInsertedByParser )
61 : SVGGraphicsElement(SVGNames::useTag, document) 55 : SVGGraphicsElement(SVGNames::useTag, document)
62 , SVGURIReference(this) 56 , SVGURIReference(this)
63 , m_x(SVGAnimatedLength::create(this, SVGNames::xAttr, SVGLength::create(Len gthModeWidth))) 57 , m_x(SVGAnimatedLength::create(this, SVGNames::xAttr, SVGLength::create(Len gthModeWidth)))
64 , m_y(SVGAnimatedLength::create(this, SVGNames::yAttr, SVGLength::create(Len gthModeHeight))) 58 , m_y(SVGAnimatedLength::create(this, SVGNames::yAttr, SVGLength::create(Len gthModeHeight)))
65 , m_width(SVGAnimatedLength::create(this, SVGNames::widthAttr, SVGLength::cr eate(LengthModeWidth))) 59 , m_width(SVGAnimatedLength::create(this, SVGNames::widthAttr, SVGLength::cr eate(LengthModeWidth)))
66 , m_height(SVGAnimatedLength::create(this, SVGNames::heightAttr, SVGLength:: create(LengthModeHeight))) 60 , m_height(SVGAnimatedLength::create(this, SVGNames::heightAttr, SVGLength:: create(LengthModeHeight)))
67 , m_wasInsertedByParser(wasInsertedByParser) 61 , m_wasInsertedByParser(wasInsertedByParser)
68 , m_haveFiredLoadEvent(false) 62 , m_haveFiredLoadEvent(false)
69 , m_needsShadowTreeRecreation(false) 63 , m_needsShadowTreeRecreation(false)
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 974
981 if (m_resource) 975 if (m_resource)
982 m_resource->removeClient(this); 976 m_resource->removeClient(this);
983 977
984 m_resource = resource; 978 m_resource = resource;
985 if (m_resource) 979 if (m_resource)
986 m_resource->addClient(this); 980 m_resource->addClient(this);
987 } 981 }
988 982
989 } 983 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGUseElement.h ('k') | Source/core/svg/SVGViewElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698