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

Side by Side Diff: Source/core/rendering/svg/RenderSVGShape.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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2008 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005, 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2005, 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. 5 * Copyright (C) 2009 Google, Inc.
6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
8 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com> 8 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com>
9 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org> 9 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org>
10 * Copyright (C) 2011 University of Szeged 10 * Copyright (C) 2011 University of Szeged
(...skipping 12 matching lines...) Expand all
23 * along with this library; see the file COPYING.LIB. If not, write to 23 * along with this library; see the file COPYING.LIB. If not, write to
24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
25 * Boston, MA 02110-1301, USA. 25 * Boston, MA 02110-1301, USA.
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 29
30 #include "core/rendering/svg/RenderSVGShape.h" 30 #include "core/rendering/svg/RenderSVGShape.h"
31 31
32 #include "core/platform/graphics/FloatPoint.h" 32 #include "core/platform/graphics/FloatPoint.h"
33 #include "core/platform/graphics/FloatQuad.h"
34 #include "core/platform/graphics/GraphicsContextStateSaver.h" 33 #include "core/platform/graphics/GraphicsContextStateSaver.h"
35 #include "core/platform/graphics/StrokeStyleApplier.h"
36 #include "core/rendering/HitTestRequest.h" 34 #include "core/rendering/HitTestRequest.h"
37 #include "core/rendering/LayoutRepainter.h" 35 #include "core/rendering/LayoutRepainter.h"
38 #include "core/rendering/PointerEventsHitRules.h" 36 #include "core/rendering/PointerEventsHitRules.h"
39 #include "core/rendering/svg/RenderSVGContainer.h"
40 #include "core/rendering/svg/RenderSVGResourceMarker.h" 37 #include "core/rendering/svg/RenderSVGResourceMarker.h"
41 #include "core/rendering/svg/RenderSVGResourceSolidColor.h" 38 #include "core/rendering/svg/RenderSVGResourceSolidColor.h"
42 #include "core/rendering/svg/SVGPathData.h" 39 #include "core/rendering/svg/SVGPathData.h"
43 #include "core/rendering/svg/SVGRenderingContext.h" 40 #include "core/rendering/svg/SVGRenderingContext.h"
44 #include "core/rendering/svg/SVGResources.h" 41 #include "core/rendering/svg/SVGResources.h"
45 #include "core/rendering/svg/SVGResourcesCache.h" 42 #include "core/rendering/svg/SVGResourcesCache.h"
46 #include "core/svg/SVGStyledTransformableElement.h" 43 #include "core/svg/SVGStyledTransformableElement.h"
47 #include "core/svg/SVGTransformList.h"
48 #include "core/svg/SVGURIReference.h"
49 #include <wtf/MathExtras.h> 44 #include <wtf/MathExtras.h>
50 45
51 namespace WebCore { 46 namespace WebCore {
52 47
53 RenderSVGShape::RenderSVGShape(SVGStyledTransformableElement* node) 48 RenderSVGShape::RenderSVGShape(SVGStyledTransformableElement* node)
54 : RenderSVGModelObject(node) 49 : RenderSVGModelObject(node)
55 , m_needsBoundariesUpdate(false) // Default is false, the cached rects are e mpty from the beginning. 50 , m_needsBoundariesUpdate(false) // Default is false, the cached rects are e mpty from the beginning.
56 , m_needsShapeUpdate(true) // Default is true, so we grab a Path object once from SVGStyledTransformableElement. 51 , m_needsShapeUpdate(true) // Default is true, so we grab a Path object once from SVGStyledTransformableElement.
57 , m_needsTransformUpdate(true) // Default is true, so we grab a AffineTransf orm object once from SVGStyledTransformableElement. 52 , m_needsTransformUpdate(true) // Default is true, so we grab a AffineTransf orm object once from SVGStyledTransformableElement.
58 { 53 {
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 return; 453 return;
459 454
460 ASSERT(m_path); 455 ASSERT(m_path);
461 456
462 SVGMarkerData markerData(m_markerPositions); 457 SVGMarkerData markerData(m_markerPositions);
463 m_path->apply(&markerData, SVGMarkerData::updateFromPathElement); 458 m_path->apply(&markerData, SVGMarkerData::updateFromPathElement);
464 markerData.pathIsDone(); 459 markerData.pathIsDone();
465 } 460 }
466 461
467 } 462 }
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGRoot.cpp ('k') | Source/core/rendering/svg/RenderSVGTextPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698