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

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

Issue 2817663002: Rewrite references to "wtf/" to "platform/wtf/" in core/paint. (Closed)
Patch Set: Created 3 years, 8 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 // 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 #include "platform/geometry/FloatSize.h" 8 #include "platform/geometry/FloatSize.h"
9 #include "wtf/Allocator.h" 9 #include "platform/wtf/Allocator.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 struct PaintInfo; 13 struct PaintInfo;
14 class LayoutSVGImage; 14 class LayoutSVGImage;
15 15
16 class SVGImagePainter { 16 class SVGImagePainter {
17 STACK_ALLOCATED(); 17 STACK_ALLOCATED();
18 18
19 public: 19 public:
20 SVGImagePainter(const LayoutSVGImage& layout_svg_image) 20 SVGImagePainter(const LayoutSVGImage& layout_svg_image)
21 : layout_svg_image_(layout_svg_image) {} 21 : layout_svg_image_(layout_svg_image) {}
22 22
23 void Paint(const PaintInfo&); 23 void Paint(const PaintInfo&);
24 24
25 private: 25 private:
26 // Assumes the PaintInfo context has had all local transforms applied. 26 // Assumes the PaintInfo context has had all local transforms applied.
27 void PaintForeground(const PaintInfo&); 27 void PaintForeground(const PaintInfo&);
28 FloatSize ComputeImageViewportSize() const; 28 FloatSize ComputeImageViewportSize() const;
29 29
30 const LayoutSVGImage& layout_svg_image_; 30 const LayoutSVGImage& layout_svg_image_;
31 }; 31 };
32 32
33 } // namespace blink 33 } // namespace blink
34 34
35 #endif // SVGImagePainter_h 35 #endif // SVGImagePainter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698