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

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

Issue 25494003: Move geometry classes from core/platform/graphics to platform/geometry (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/SVGRect.h ('k') | Source/core/svg/SVGTransform.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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2007 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 20 matching lines...) Expand all
31 #include "core/dom/ElementTraversal.h" 31 #include "core/dom/ElementTraversal.h"
32 #include "core/events/EventListener.h" 32 #include "core/events/EventListener.h"
33 #include "core/events/EventNames.h" 33 #include "core/events/EventNames.h"
34 #include "core/dom/NodeTraversal.h" 34 #include "core/dom/NodeTraversal.h"
35 #include "core/dom/StaticNodeList.h" 35 #include "core/dom/StaticNodeList.h"
36 #include "core/editing/FrameSelection.h" 36 #include "core/editing/FrameSelection.h"
37 #include "core/page/Frame.h" 37 #include "core/page/Frame.h"
38 #include "core/page/FrameTree.h" 38 #include "core/page/FrameTree.h"
39 #include "core/page/FrameView.h" 39 #include "core/page/FrameView.h"
40 #include "core/page/UseCounter.h" 40 #include "core/page/UseCounter.h"
41 #include "core/platform/FloatConversion.h"
42 #include "core/platform/graphics/FloatRect.h"
43 #include "core/platform/graphics/transforms/AffineTransform.h"
44 #include "core/rendering/RenderObject.h" 41 #include "core/rendering/RenderObject.h"
45 #include "core/rendering/RenderPart.h" 42 #include "core/rendering/RenderPart.h"
46 #include "core/rendering/svg/RenderSVGModelObject.h" 43 #include "core/rendering/svg/RenderSVGModelObject.h"
47 #include "core/rendering/svg/RenderSVGResource.h" 44 #include "core/rendering/svg/RenderSVGResource.h"
48 #include "core/rendering/svg/RenderSVGRoot.h" 45 #include "core/rendering/svg/RenderSVGRoot.h"
49 #include "core/rendering/svg/RenderSVGViewportContainer.h" 46 #include "core/rendering/svg/RenderSVGViewportContainer.h"
50 #include "core/svg/SVGAngle.h" 47 #include "core/svg/SVGAngle.h"
51 #include "core/svg/SVGElementInstance.h" 48 #include "core/svg/SVGElementInstance.h"
52 #include "core/svg/SVGFitToViewBox.h" 49 #include "core/svg/SVGFitToViewBox.h"
53 #include "core/svg/SVGPreserveAspectRatio.h" 50 #include "core/svg/SVGPreserveAspectRatio.h"
54 #include "core/svg/SVGTransform.h" 51 #include "core/svg/SVGTransform.h"
55 #include "core/svg/SVGTransformList.h" 52 #include "core/svg/SVGTransformList.h"
56 #include "core/svg/SVGViewElement.h" 53 #include "core/svg/SVGViewElement.h"
57 #include "core/svg/SVGViewSpec.h" 54 #include "core/svg/SVGViewSpec.h"
58 #include "core/svg/animation/SMILTimeContainer.h" 55 #include "core/svg/animation/SMILTimeContainer.h"
56 #include "platform/FloatConversion.h"
57 #include "platform/geometry/FloatRect.h"
58 #include "platform/transforms/AffineTransform.h"
59 #include "wtf/StdLibExtras.h" 59 #include "wtf/StdLibExtras.h"
60 60
61 namespace WebCore { 61 namespace WebCore {
62 62
63 // Animated property definitions 63 // Animated property definitions
64 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::xAttr, X, x) 64 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::xAttr, X, x)
65 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::yAttr, Y, y) 65 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::yAttr, Y, y)
66 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::widthAttr, Width, width) 66 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::widthAttr, Width, width)
67 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::heightAttr, Height, height) 67 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::heightAttr, Height, height)
68 DEFINE_ANIMATED_BOOLEAN(SVGSVGElement, SVGNames::externalResourcesRequiredAttr, ExternalResourcesRequired, externalResourcesRequired) 68 DEFINE_ANIMATED_BOOLEAN(SVGSVGElement, SVGNames::externalResourcesRequiredAttr, ExternalResourcesRequired, externalResourcesRequired)
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 continue; 774 continue;
775 775
776 Element* element = toElement(node); 776 Element* element = toElement(node);
777 if (element->getIdAttribute() == id) 777 if (element->getIdAttribute() == id)
778 return element; 778 return element;
779 } 779 }
780 return 0; 780 return 0;
781 } 781 }
782 782
783 } 783 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGRect.h ('k') | Source/core/svg/SVGTransform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698