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

Side by Side Diff: Source/core/paint/SVGImagePainter.h

Issue 713553002: Clean up forward declarations in core/rendering and core/painting (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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/paint/ReplicaPainter.h ('k') | Source/core/paint/SVGInlineTextBoxPainter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SVGImagePainter_h 5 #ifndef SVGImagePainter_h
6 #define SVGImagePainter_h 6 #define SVGImagePainter_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 class AffineTransform;
11 class FloatRect;
12 class ImageBuffer;
13 class IntSize;
14 struct PaintInfo; 10 struct PaintInfo;
15 class RenderSVGImage; 11 class RenderSVGImage;
16 12
17 class SVGImagePainter { 13 class SVGImagePainter {
18 public: 14 public:
19 SVGImagePainter(RenderSVGImage& renderSVGImage) : m_renderSVGImage(renderSVG Image) { } 15 SVGImagePainter(RenderSVGImage& renderSVGImage) : m_renderSVGImage(renderSVG Image) { }
20 16
21 void paint(PaintInfo&); 17 void paint(PaintInfo&);
22 18
23 private: 19 private:
24 // Assumes the PaintInfo context has had all local transforms applied. 20 // Assumes the PaintInfo context has had all local transforms applied.
25 void paintForeground(PaintInfo&); 21 void paintForeground(PaintInfo&);
26 22
27 RenderSVGImage& m_renderSVGImage; 23 RenderSVGImage& m_renderSVGImage;
28 }; 24 };
29 25
30 } // namespace blink 26 } // namespace blink
31 27
32 #endif // SVGImagePainter_h 28 #endif // SVGImagePainter_h
OLDNEW
« no previous file with comments | « Source/core/paint/ReplicaPainter.h ('k') | Source/core/paint/SVGInlineTextBoxPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698