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

Side by Side Diff: Source/core/rendering/svg/SVGRenderTreeAsText.cpp

Issue 14487005: Absolutify paths to rendering/svg/. (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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2007, 2009 Apple Inc. All rights reserved.
3 * (C) 2005 Rob Buis <buis@kde.org> 3 * (C) 2005 Rob Buis <buis@kde.org>
4 * (C) 2006 Alexander Kellett <lypanov@kde.org> 4 * (C) 2006 Alexander Kellett <lypanov@kde.org>
5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 11 matching lines...) Expand all
22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
24 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 30
31 #if ENABLE(SVG) 31 #if ENABLE(SVG)
32 #include "SVGRenderTreeAsText.h" 32 #include "core/rendering/svg/SVGRenderTreeAsText.h"
33 33
34 #include "HTMLNames.h" 34 #include "HTMLNames.h"
35 #include "InlineTextBox.h" 35 #include "InlineTextBox.h"
36 #include "LinearGradientAttributes.h" 36 #include "LinearGradientAttributes.h"
37 #include "NodeRenderStyle.h" 37 #include "NodeRenderStyle.h"
38 #include "PatternAttributes.h" 38 #include "PatternAttributes.h"
39 #include "RadialGradientAttributes.h" 39 #include "RadialGradientAttributes.h"
40 #include "RenderImage.h" 40 #include "RenderImage.h"
41 #include "RenderSVGContainer.h"
42 #include "RenderSVGGradientStop.h"
43 #include "RenderSVGImage.h"
44 #include "RenderSVGInlineText.h"
45 #include "RenderSVGPath.h"
46 #include "RenderSVGResourceClipper.h"
47 #include "RenderSVGResourceFilter.h"
48 #include "RenderSVGResourceGradient.h"
49 #include "RenderSVGResourceLinearGradient.h"
50 #include "RenderSVGResourceMarker.h"
51 #include "RenderSVGResourceMasker.h"
52 #include "RenderSVGResourcePattern.h"
53 #include "RenderSVGResourceRadialGradient.h"
54 #include "RenderSVGResourceSolidColor.h"
55 #include "RenderSVGRoot.h"
56 #include "RenderSVGShape.h"
57 #include "RenderSVGText.h"
58 #include "RenderTreeAsText.h" 41 #include "RenderTreeAsText.h"
59 #include "SVGCircleElement.h" 42 #include "SVGCircleElement.h"
60 #include "SVGEllipseElement.h" 43 #include "SVGEllipseElement.h"
61 #include "SVGInlineTextBox.h"
62 #include "SVGLineElement.h" 44 #include "SVGLineElement.h"
63 #include "SVGLinearGradientElement.h" 45 #include "SVGLinearGradientElement.h"
64 #include "SVGNames.h" 46 #include "SVGNames.h"
65 #include "SVGPathElement.h" 47 #include "SVGPathElement.h"
66 #include "SVGPathUtilities.h" 48 #include "SVGPathUtilities.h"
67 #include "SVGPatternElement.h" 49 #include "SVGPatternElement.h"
68 #include "SVGPointList.h" 50 #include "SVGPointList.h"
69 #include "SVGPolyElement.h" 51 #include "SVGPolyElement.h"
70 #include "SVGRadialGradientElement.h" 52 #include "SVGRadialGradientElement.h"
71 #include "SVGRectElement.h" 53 #include "SVGRectElement.h"
72 #include "SVGRootInlineBox.h"
73 #include "SVGStopElement.h" 54 #include "SVGStopElement.h"
74 #include "SVGStyledElement.h" 55 #include "SVGStyledElement.h"
75 #include "core/platform/graphics/GraphicsTypes.h" 56 #include "core/platform/graphics/GraphicsTypes.h"
76 #include "core/platform/graphics/Path.h" 57 #include "core/platform/graphics/Path.h"
58 #include "core/rendering/svg/RenderSVGContainer.h"
59 #include "core/rendering/svg/RenderSVGGradientStop.h"
60 #include "core/rendering/svg/RenderSVGImage.h"
61 #include "core/rendering/svg/RenderSVGInlineText.h"
62 #include "core/rendering/svg/RenderSVGPath.h"
63 #include "core/rendering/svg/RenderSVGResourceClipper.h"
64 #include "core/rendering/svg/RenderSVGResourceFilter.h"
65 #include "core/rendering/svg/RenderSVGResourceGradient.h"
66 #include "core/rendering/svg/RenderSVGResourceLinearGradient.h"
67 #include "core/rendering/svg/RenderSVGResourceMarker.h"
68 #include "core/rendering/svg/RenderSVGResourceMasker.h"
69 #include "core/rendering/svg/RenderSVGResourcePattern.h"
70 #include "core/rendering/svg/RenderSVGResourceRadialGradient.h"
71 #include "core/rendering/svg/RenderSVGResourceSolidColor.h"
72 #include "core/rendering/svg/RenderSVGRoot.h"
73 #include "core/rendering/svg/RenderSVGShape.h"
74 #include "core/rendering/svg/RenderSVGText.h"
75 #include "core/rendering/svg/SVGInlineTextBox.h"
76 #include "core/rendering/svg/SVGRootInlineBox.h"
77 77
78 #include <math.h> 78 #include <math.h>
79 79
80 namespace WebCore { 80 namespace WebCore {
81 81
82 /** class + iomanip to help streaming list separators, i.e. ", " in string "a, b , c, d" 82 /** class + iomanip to help streaming list separators, i.e. ", " in string "a, b , c, d"
83 * Can be used in cases where you don't know which item in the list is the first 83 * Can be used in cases where you don't know which item in the list is the first
84 * one to be printed, but still want to avoid strings like ", b, c". 84 * one to be printed, but still want to avoid strings like ", b, c".
85 */ 85 */
86 class TextStreamSeparator { 86 class TextStreamSeparator {
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 ts << " "; 680 ts << " ";
681 writeStandardPrefix(ts, *filter, 0); 681 writeStandardPrefix(ts, *filter, 0);
682 ts << " " << filter->resourceBoundingBox(&renderer) << "\n"; 682 ts << " " << filter->resourceBoundingBox(&renderer) << "\n";
683 } 683 }
684 } 684 }
685 } 685 }
686 686
687 } // namespace WebCore 687 } // namespace WebCore
688 688
689 #endif // ENABLE(SVG) 689 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/SVGRenderSupport.cpp ('k') | Source/core/rendering/svg/SVGRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698