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

Side by Side Diff: Source/core/rendering/style/SVGRenderStyle.h

Issue 337113005: Reduce forward declarations in core/rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
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 2004, 2005 Rob Buis <buis@kde.org> 3 2004, 2005 Rob Buis <buis@kde.org>
4 Copyright (C) 2005, 2006 Apple Computer, Inc. 4 Copyright (C) 2005, 2006 Apple Computer, Inc.
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 This library is free software; you can redistribute it and/or 7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public 8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either 9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version. 10 version 2 of the License, or (at your option) any later version.
(...skipping 17 matching lines...) Expand all
28 #include "core/rendering/style/DataRef.h" 28 #include "core/rendering/style/DataRef.h"
29 #include "core/rendering/style/RenderStyleConstants.h" 29 #include "core/rendering/style/RenderStyleConstants.h"
30 #include "core/rendering/style/SVGRenderStyleDefs.h" 30 #include "core/rendering/style/SVGRenderStyleDefs.h"
31 #include "core/rendering/style/StyleDifference.h" 31 #include "core/rendering/style/StyleDifference.h"
32 #include "core/svg/SVGPaint.h" 32 #include "core/svg/SVGPaint.h"
33 #include "platform/graphics/GraphicsTypes.h" 33 #include "platform/graphics/GraphicsTypes.h"
34 #include "platform/graphics/Path.h" 34 #include "platform/graphics/Path.h"
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 class FloatRect;
39 class IntRect;
40 class RenderObject;
41
42 class SVGRenderStyle : public RefCounted<SVGRenderStyle> { 38 class SVGRenderStyle : public RefCounted<SVGRenderStyle> {
43 public: 39 public:
44 static PassRefPtr<SVGRenderStyle> create() { return adoptRef(new SVGRenderSt yle); } 40 static PassRefPtr<SVGRenderStyle> create() { return adoptRef(new SVGRenderSt yle); }
45 PassRefPtr<SVGRenderStyle> copy() const { return adoptRef(new SVGRenderStyle (*this));} 41 PassRefPtr<SVGRenderStyle> copy() const { return adoptRef(new SVGRenderStyle (*this));}
46 ~SVGRenderStyle(); 42 ~SVGRenderStyle();
47 43
48 bool inheritedNotEqual(const SVGRenderStyle*) const; 44 bool inheritedNotEqual(const SVGRenderStyle*) const;
49 void inheritFrom(const SVGRenderStyle*); 45 void inheritFrom(const SVGRenderStyle*);
50 void copyNonInheritedFrom(const SVGRenderStyle*); 46 void copyNonInheritedFrom(const SVGRenderStyle*);
51 47
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 svg_noninherited_flags.f._baselineShift = initialBaselineShift(); 449 svg_noninherited_flags.f._baselineShift = initialBaselineShift();
454 svg_noninherited_flags.f._vectorEffect = initialVectorEffect(); 450 svg_noninherited_flags.f._vectorEffect = initialVectorEffect();
455 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering(); 451 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering();
456 svg_noninherited_flags.f.maskType = initialMaskType(); 452 svg_noninherited_flags.f.maskType = initialMaskType();
457 } 453 }
458 }; 454 };
459 455
460 } // namespace WebCore 456 } // namespace WebCore
461 457
462 #endif // SVGRenderStyle_h 458 #endif // SVGRenderStyle_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/SVGRenderStyleDefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698