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

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

Issue 594043005: Move paint code from RenderImage/RenderVideo into ImagePainter/VideoPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merged 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
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 HTMLCanvasPainter_h 5 #ifndef VideoPainter_h
6 #define HTMLCanvasPainter_h 6 #define VideoPainter_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 class GraphicsContext;
10 struct PaintInfo; 11 struct PaintInfo;
11 class LayoutPoint; 12 class LayoutPoint;
12 class RenderHTMLCanvas; 13 class LayoutRect;
14 class RenderVideo;
13 15
14 class HTMLCanvasPainter { 16 class VideoPainter {
15 public: 17 public:
16 HTMLCanvasPainter(RenderHTMLCanvas& renderHTMLCanvas) : m_renderHTMLCanvas(r enderHTMLCanvas) { } 18 VideoPainter(RenderVideo& renderVideo) : m_renderVideo(renderVideo) { }
19
20 void paint(PaintInfo&, const LayoutPoint&);
Stephen Chennney 2014/09/24 15:08:18 This is never defined as far as I can see. Is it e
chrishtr 2014/09/24 16:30:25 Removed.
17 void paintReplaced(PaintInfo&, const LayoutPoint&); 21 void paintReplaced(PaintInfo&, const LayoutPoint&);
18 22
19 private: 23 private:
20 RenderHTMLCanvas& m_renderHTMLCanvas; 24
25 RenderVideo& m_renderVideo;
21 }; 26 };
22 27
23 } // namespace blink 28 } // namespace blink
24 29
25 #endif // HTMLCanvasPainter_h 30 #endif // VideoPainter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698