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

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

Issue 594043005: Move paint code from RenderImage/RenderVideo into ImagePainter/VideoPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed comments. Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/paint/ImagePainter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef ImagePainter_h
6 #define ImagePainter_h
7
8 namespace blink {
9
10 class GraphicsContext;
11 struct PaintInfo;
12 class LayoutPoint;
13 class LayoutRect;
14 class RenderImage;
15
16 class ImagePainter {
17 public:
18 ImagePainter(RenderImage& renderImage) : m_renderImage(renderImage) { }
19
20 void paint(PaintInfo&, const LayoutPoint&);
21 void paintReplaced(PaintInfo&, const LayoutPoint&);
22 void paintIntoRect(GraphicsContext*, const LayoutRect&);
23
24 private:
25 void paintAreaElementFocusRing(PaintInfo&);
26
27 RenderImage& m_renderImage;
28 };
29
30 } // namespace blink
31
32 #endif // ImagePainter_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/paint/ImagePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698