Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / core / paint / HTMLCanvasPainter.h
blob5d2196dc3ff085589558aee9f56fad4e2eb7b859
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.
5 #ifndef HTMLCanvasPainter_h
6 #define HTMLCanvasPainter_h
8 #include "wtf/Allocator.h"
10 namespace blink {
12 struct PaintInfo;
13 class LayoutPoint;
14 class LayoutHTMLCanvas;
16 class HTMLCanvasPainter {
17 STACK_ALLOCATED();
18 public:
19 HTMLCanvasPainter(LayoutHTMLCanvas& layoutHTMLCanvas) : m_layoutHTMLCanvas(layoutHTMLCanvas) { }
20 void paintReplaced(const PaintInfo&, const LayoutPoint&);
22 private:
23 LayoutHTMLCanvas& m_layoutHTMLCanvas;
26 } // namespace blink
28 #endif // HTMLCanvasPainter_h