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

Side by Side Diff: Source/core/svg/SVGPolyElement.h

Issue 55893002: <animate> not working on SVG Polygons. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « Source/core/rendering/svg/SVGRenderTreeAsText.cpp ('k') | Source/core/svg/SVGPolyElement.cpp » ('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, 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 17 matching lines...) Expand all
28 #include "core/svg/SVGPointList.h" 28 #include "core/svg/SVGPointList.h"
29 29
30 namespace WebCore { 30 namespace WebCore {
31 31
32 class SVGPolyElement : public SVGGraphicsElement 32 class SVGPolyElement : public SVGGraphicsElement
33 , public SVGExternalResourcesRequired { 33 , public SVGExternalResourcesRequired {
34 public: 34 public:
35 SVGListPropertyTearOff<SVGPointList>* points(); 35 SVGListPropertyTearOff<SVGPointList>* points();
36 SVGListPropertyTearOff<SVGPointList>* animatedPoints(); 36 SVGListPropertyTearOff<SVGPointList>* animatedPoints();
37 37
38 SVGPointList& pointList() const { return m_points.value; } 38 SVGPointList& pointsCurrentValue();
39 39
40 static const SVGPropertyInfo* pointsPropertyInfo(); 40 static const SVGPropertyInfo* pointsPropertyInfo();
41 41
42 protected: 42 protected:
43 SVGPolyElement(const QualifiedName&, Document&); 43 SVGPolyElement(const QualifiedName&, Document&);
44 44
45 private: 45 private:
46 virtual bool isValid() const { return SVGTests::isValid(); } 46 virtual bool isValid() const { return SVGTests::isValid(); }
47 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners( ); } 47 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners( ); }
48 48
(...skipping 17 matching lines...) Expand all
66 66
67 inline SVGPolyElement* toSVGPolyElement(SVGElement* element) 67 inline SVGPolyElement* toSVGPolyElement(SVGElement* element)
68 { 68 {
69 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::p olygonTag) || element->hasTagName(SVGNames::polylineTag)); 69 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::p olygonTag) || element->hasTagName(SVGNames::polylineTag));
70 return static_cast<SVGPolyElement*>(element); 70 return static_cast<SVGPolyElement*>(element);
71 } 71 }
72 72
73 } // namespace WebCore 73 } // namespace WebCore
74 74
75 #endif 75 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/SVGRenderTreeAsText.cpp ('k') | Source/core/svg/SVGPolyElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698