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

Unified Diff: Source/core/svg/SVGAElement.h

Issue 148173018: [SVG] SVGAnimatedString{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove debug print Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/svg/SVGResources.cpp ('k') | Source/core/svg/SVGAElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAElement.h
diff --git a/Source/core/svg/SVGAElement.h b/Source/core/svg/SVGAElement.h
index db75a308a4826f60bf98996b2ca0bb6e3f02add4..f27b28fbe5df38425aba810fb34b0dc064cecae6 100644
--- a/Source/core/svg/SVGAElement.h
+++ b/Source/core/svg/SVGAElement.h
@@ -32,6 +32,8 @@ class SVGAElement FINAL : public SVGGraphicsElement,
public SVGURIReference {
public:
static PassRefPtr<SVGAElement> create(Document&);
+ SVGAnimatedString* svgTarget() { return m_svgTarget.get(); }
+ SVGAnimatedString* href() { return m_href.get(); }
private:
explicit SVGAElement(Document&);
@@ -56,11 +58,11 @@ private:
virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE { return true; }
+ RefPtr<SVGAnimatedString> m_svgTarget;
+ RefPtr<SVGAnimatedString> m_href;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAElement)
// This declaration used to define a non-virtual "String& target() const" method, that clashes with "virtual String Element::target() const".
// That's why it has been renamed to "svgTarget", the CodeGenerators take care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGenerator.pm.
- DECLARE_ANIMATED_STRING(SVGTarget, svgTarget)
- DECLARE_ANIMATED_STRING(Href, href)
END_DECLARE_ANIMATED_PROPERTIES
};
« no previous file with comments | « Source/core/rendering/svg/SVGResources.cpp ('k') | Source/core/svg/SVGAElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698