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

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

Issue 14387012: Absolutify paths to svg/properties/. (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
« no previous file with comments | « Source/core/svg/SVGNumberList.h ('k') | Source/core/svg/SVGPathSegList.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, 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 19 matching lines...) Expand all
30 #include "SVGPathSegClosePath.h" 30 #include "SVGPathSegClosePath.h"
31 #include "SVGPathSegCurvetoCubic.h" 31 #include "SVGPathSegCurvetoCubic.h"
32 #include "SVGPathSegCurvetoCubicSmooth.h" 32 #include "SVGPathSegCurvetoCubicSmooth.h"
33 #include "SVGPathSegCurvetoQuadratic.h" 33 #include "SVGPathSegCurvetoQuadratic.h"
34 #include "SVGPathSegCurvetoQuadraticSmooth.h" 34 #include "SVGPathSegCurvetoQuadraticSmooth.h"
35 #include "SVGPathSegLineto.h" 35 #include "SVGPathSegLineto.h"
36 #include "SVGPathSegLinetoHorizontal.h" 36 #include "SVGPathSegLinetoHorizontal.h"
37 #include "SVGPathSegLinetoVertical.h" 37 #include "SVGPathSegLinetoVertical.h"
38 #include "SVGPathSegList.h" 38 #include "SVGPathSegList.h"
39 #include "SVGPathSegListBuilder.h" 39 #include "SVGPathSegListBuilder.h"
40 #include "SVGPathSegListPropertyTearOff.h"
41 #include "SVGPathSegMoveto.h" 40 #include "SVGPathSegMoveto.h"
42 #include "SVGPathUtilities.h" 41 #include "SVGPathUtilities.h"
43 #include "SVGSVGElement.h" 42 #include "SVGSVGElement.h"
44 #include "core/dom/Attribute.h" 43 #include "core/dom/Attribute.h"
45 #include "core/rendering/svg/RenderSVGPath.h" 44 #include "core/rendering/svg/RenderSVGPath.h"
46 #include "core/rendering/svg/RenderSVGResource.h" 45 #include "core/rendering/svg/RenderSVGResource.h"
46 #include "core/svg/properties/SVGPathSegListPropertyTearOff.h"
47 47
48 namespace WebCore { 48 namespace WebCore {
49 49
50 // Define custom animated property 'd'. 50 // Define custom animated property 'd'.
51 const SVGPropertyInfo* SVGPathElement::dPropertyInfo() 51 const SVGPropertyInfo* SVGPathElement::dPropertyInfo()
52 { 52 {
53 static const SVGPropertyInfo* s_propertyInfo = 0; 53 static const SVGPropertyInfo* s_propertyInfo = 0;
54 if (!s_propertyInfo) { 54 if (!s_propertyInfo) {
55 s_propertyInfo = new SVGPropertyInfo(AnimatedPath, 55 s_propertyInfo = new SVGPropertyInfo(AnimatedPath,
56 PropertyIsReadWrite, 56 PropertyIsReadWrite,
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 407
408 RenderObject* SVGPathElement::createRenderer(RenderArena* arena, RenderStyle*) 408 RenderObject* SVGPathElement::createRenderer(RenderArena* arena, RenderStyle*)
409 { 409 {
410 // By default, any subclass is expected to do path-based drawing 410 // By default, any subclass is expected to do path-based drawing
411 return new (arena) RenderSVGPath(this); 411 return new (arena) RenderSVGPath(this);
412 } 412 }
413 413
414 } 414 }
415 415
416 #endif // ENABLE(SVG) 416 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/core/svg/SVGNumberList.h ('k') | Source/core/svg/SVGPathSegList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698