Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / core / paint / VideoPainter.h
blob098e867ce0cb5b6b18fec4276c18c35b19c275d1
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 VideoPainter_h
6 #define VideoPainter_h
8 #include "wtf/Allocator.h"
10 namespace blink {
12 struct PaintInfo;
13 class LayoutPoint;
14 class LayoutVideo;
16 class VideoPainter {
17 STACK_ALLOCATED();
18 public:
19 VideoPainter(LayoutVideo& layoutVideo) : m_layoutVideo(layoutVideo) { }
21 void paintReplaced(const PaintInfo&, const LayoutPoint&);
23 private:
25 LayoutVideo& m_layoutVideo;
28 } // namespace blink
30 #endif // VideoPainter_h