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

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

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours Created 7 years, 7 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
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 12 matching lines...) Expand all
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 #include "core/rendering/svg/SVGRenderTreeAsText.h" 31 #include "core/rendering/svg/SVGRenderTreeAsText.h"
32 32
33 #include "HTMLNames.h"
34 #include "SVGNames.h" 33 #include "SVGNames.h"
35 #include "core/dom/NodeRenderStyle.h"
36 #include "core/platform/graphics/GraphicsTypes.h" 34 #include "core/platform/graphics/GraphicsTypes.h"
37 #include "core/platform/graphics/Path.h"
38 #include "core/rendering/InlineTextBox.h" 35 #include "core/rendering/InlineTextBox.h"
39 #include "core/rendering/RenderImage.h"
40 #include "core/rendering/RenderTreeAsText.h" 36 #include "core/rendering/RenderTreeAsText.h"
41 #include "core/rendering/svg/RenderSVGContainer.h"
42 #include "core/rendering/svg/RenderSVGGradientStop.h" 37 #include "core/rendering/svg/RenderSVGGradientStop.h"
43 #include "core/rendering/svg/RenderSVGImage.h" 38 #include "core/rendering/svg/RenderSVGImage.h"
44 #include "core/rendering/svg/RenderSVGInlineText.h" 39 #include "core/rendering/svg/RenderSVGInlineText.h"
45 #include "core/rendering/svg/RenderSVGPath.h"
46 #include "core/rendering/svg/RenderSVGResourceClipper.h" 40 #include "core/rendering/svg/RenderSVGResourceClipper.h"
47 #include "core/rendering/svg/RenderSVGResourceFilter.h" 41 #include "core/rendering/svg/RenderSVGResourceFilter.h"
48 #include "core/rendering/svg/RenderSVGResourceGradient.h"
49 #include "core/rendering/svg/RenderSVGResourceLinearGradient.h" 42 #include "core/rendering/svg/RenderSVGResourceLinearGradient.h"
50 #include "core/rendering/svg/RenderSVGResourceMarker.h" 43 #include "core/rendering/svg/RenderSVGResourceMarker.h"
51 #include "core/rendering/svg/RenderSVGResourceMasker.h" 44 #include "core/rendering/svg/RenderSVGResourceMasker.h"
52 #include "core/rendering/svg/RenderSVGResourcePattern.h" 45 #include "core/rendering/svg/RenderSVGResourcePattern.h"
53 #include "core/rendering/svg/RenderSVGResourceRadialGradient.h" 46 #include "core/rendering/svg/RenderSVGResourceRadialGradient.h"
54 #include "core/rendering/svg/RenderSVGResourceSolidColor.h" 47 #include "core/rendering/svg/RenderSVGResourceSolidColor.h"
55 #include "core/rendering/svg/RenderSVGRoot.h" 48 #include "core/rendering/svg/RenderSVGRoot.h"
56 #include "core/rendering/svg/RenderSVGShape.h" 49 #include "core/rendering/svg/RenderSVGShape.h"
57 #include "core/rendering/svg/RenderSVGText.h" 50 #include "core/rendering/svg/RenderSVGText.h"
58 #include "core/rendering/svg/SVGInlineTextBox.h" 51 #include "core/rendering/svg/SVGInlineTextBox.h"
59 #include "core/rendering/svg/SVGRootInlineBox.h" 52 #include "core/rendering/svg/SVGRootInlineBox.h"
60 #include "core/svg/LinearGradientAttributes.h" 53 #include "core/svg/LinearGradientAttributes.h"
61 #include "core/svg/PatternAttributes.h" 54 #include "core/svg/PatternAttributes.h"
62 #include "core/svg/RadialGradientAttributes.h" 55 #include "core/svg/RadialGradientAttributes.h"
63 #include "core/svg/SVGCircleElement.h" 56 #include "core/svg/SVGCircleElement.h"
64 #include "core/svg/SVGEllipseElement.h" 57 #include "core/svg/SVGEllipseElement.h"
65 #include "core/svg/SVGLineElement.h" 58 #include "core/svg/SVGLineElement.h"
66 #include "core/svg/SVGLinearGradientElement.h" 59 #include "core/svg/SVGLinearGradientElement.h"
67 #include "core/svg/SVGPathElement.h" 60 #include "core/svg/SVGPathElement.h"
68 #include "core/svg/SVGPathUtilities.h" 61 #include "core/svg/SVGPathUtilities.h"
69 #include "core/svg/SVGPatternElement.h" 62 #include "core/svg/SVGPatternElement.h"
70 #include "core/svg/SVGPointList.h" 63 #include "core/svg/SVGPointList.h"
71 #include "core/svg/SVGPolyElement.h" 64 #include "core/svg/SVGPolyElement.h"
72 #include "core/svg/SVGRadialGradientElement.h" 65 #include "core/svg/SVGRadialGradientElement.h"
73 #include "core/svg/SVGRectElement.h" 66 #include "core/svg/SVGRectElement.h"
74 #include "core/svg/SVGStopElement.h" 67 #include "core/svg/SVGStopElement.h"
75 #include "core/svg/SVGStyledElement.h"
76 68
77 #include <math.h> 69 #include <math.h>
78 70
79 namespace WebCore { 71 namespace WebCore {
80 72
81 /** class + iomanip to help streaming list separators, i.e. ", " in string "a, b , c, d" 73 /** class + iomanip to help streaming list separators, i.e. ", " in string "a, b , c, d"
82 * Can be used in cases where you don't know which item in the list is the first 74 * Can be used in cases where you don't know which item in the list is the first
83 * one to be printed, but still want to avoid strings like ", b, c". 75 * one to be printed, but still want to avoid strings like ", b, c".
84 */ 76 */
85 class TextStreamSeparator { 77 class TextStreamSeparator {
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 ts << " "; 669 ts << " ";
678 writeNameAndQuotedValue(ts, "filter", svgStyle->filterResource()); 670 writeNameAndQuotedValue(ts, "filter", svgStyle->filterResource());
679 ts << " "; 671 ts << " ";
680 writeStandardPrefix(ts, *filter, 0); 672 writeStandardPrefix(ts, *filter, 0);
681 ts << " " << filter->resourceBoundingBox(&renderer) << "\n"; 673 ts << " " << filter->resourceBoundingBox(&renderer) << "\n";
682 } 674 }
683 } 675 }
684 } 676 }
685 677
686 } // namespace WebCore 678 } // namespace WebCore
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