| OLD | NEW |
| 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 FrameSetPainter_h | 5 #ifndef FrameSetPainter_h |
| 6 #define FrameSetPainter_h | 6 #define FrameSetPainter_h |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 class IntRect; | 10 class IntRect; |
| 11 struct PaintInfo; | 11 struct PaintInfo; |
| 12 class LayoutFrameSet; |
| 12 class LayoutPoint; | 13 class LayoutPoint; |
| 13 class RenderFrameSet; | |
| 14 | 14 |
| 15 class FrameSetPainter { | 15 class FrameSetPainter { |
| 16 public: | 16 public: |
| 17 FrameSetPainter(RenderFrameSet& renderFrameSet) : m_renderFrameSet(renderFra
meSet) { } | 17 FrameSetPainter(LayoutFrameSet& layoutFrameSet) : m_layoutFrameSet(layoutFra
meSet) { } |
| 18 | 18 |
| 19 void paint(const PaintInfo&, const LayoutPoint& paintOffset); | 19 void paint(const PaintInfo&, const LayoutPoint& paintOffset); |
| 20 | 20 |
| 21 private: | 21 private: |
| 22 void paintRowBorder(const PaintInfo&, const IntRect&); | 22 void paintRowBorder(const PaintInfo&, const IntRect&); |
| 23 void paintColumnBorder(const PaintInfo&, const IntRect&); | 23 void paintColumnBorder(const PaintInfo&, const IntRect&); |
| 24 | 24 |
| 25 RenderFrameSet& m_renderFrameSet; | 25 LayoutFrameSet& m_layoutFrameSet; |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 } // namespace blink | 28 } // namespace blink |
| 29 | 29 |
| 30 #endif // FrameSetPainter_h | 30 #endif // FrameSetPainter_h |
| OLD | NEW |