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.
10 class GraphicsContext;
18 ImagePainter(RenderImage& renderImage) : m_renderImage(renderImage) { }
20 void paint(PaintInfo&, const LayoutPoint& paintOffset);
21 void paintReplaced(PaintInfo&, const LayoutPoint& paintOffset);
22 void paintIntoRect(GraphicsContext*, const LayoutRect& paintOffset);
23 void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint& paintOffset);
26 void paintAreaElementFocusRing(PaintInfo&);
28 RenderImage& m_renderImage;
33 #endif // ImagePainter_h