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

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

Issue 332773002: Clean up SVGNames usage in core/rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 6 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
« no previous file with comments | « Source/core/rendering/svg/SVGPathData.cpp ('k') | Source/core/rendering/svg/SVGResources.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, 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 "SVGNames.h"
34 #include "core/rendering/InlineTextBox.h" 33 #include "core/rendering/InlineTextBox.h"
35 #include "core/rendering/RenderTreeAsText.h" 34 #include "core/rendering/RenderTreeAsText.h"
36 #include "core/rendering/svg/RenderSVGGradientStop.h" 35 #include "core/rendering/svg/RenderSVGGradientStop.h"
37 #include "core/rendering/svg/RenderSVGImage.h" 36 #include "core/rendering/svg/RenderSVGImage.h"
38 #include "core/rendering/svg/RenderSVGInlineText.h" 37 #include "core/rendering/svg/RenderSVGInlineText.h"
39 #include "core/rendering/svg/RenderSVGResourceClipper.h" 38 #include "core/rendering/svg/RenderSVGResourceClipper.h"
40 #include "core/rendering/svg/RenderSVGResourceFilter.h" 39 #include "core/rendering/svg/RenderSVGResourceFilter.h"
41 #include "core/rendering/svg/RenderSVGResourceLinearGradient.h" 40 #include "core/rendering/svg/RenderSVGResourceLinearGradient.h"
42 #include "core/rendering/svg/RenderSVGResourceMarker.h" 41 #include "core/rendering/svg/RenderSVGResourceMarker.h"
43 #include "core/rendering/svg/RenderSVGResourceMasker.h" 42 #include "core/rendering/svg/RenderSVGResourceMasker.h"
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 ts << " "; 673 ts << " ";
675 writeNameAndQuotedValue(ts, "filter", svgStyle->filterResource()); 674 writeNameAndQuotedValue(ts, "filter", svgStyle->filterResource());
676 ts << " "; 675 ts << " ";
677 writeStandardPrefix(ts, *filter, 0); 676 writeStandardPrefix(ts, *filter, 0);
678 ts << " " << filter->resourceBoundingBox(&renderer) << "\n"; 677 ts << " " << filter->resourceBoundingBox(&renderer) << "\n";
679 } 678 }
680 } 679 }
681 } 680 }
682 681
683 } // namespace WebCore 682 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/SVGPathData.cpp ('k') | Source/core/rendering/svg/SVGResources.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698