OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef HTMLCanvasClipper_h |
| 6 #define HTMLCanvasClipper_h |
| 7 |
| 8 #include "platform/geometry/LayoutRect.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class RenderHTMLCanvas; |
| 13 struct PaintInfo; |
| 14 |
| 15 class HTMLCanvasClipper { |
| 16 public: |
| 17 HTMLCanvasClipper(RenderHTMLCanvas&, const PaintInfo&, const LayoutRect& cli
pRect); |
| 18 ~HTMLCanvasClipper(); |
| 19 private: |
| 20 LayoutRect m_clipRect; |
| 21 const PaintInfo& m_paintInfo; |
| 22 RenderHTMLCanvas& m_canvas; |
| 23 }; |
| 24 |
| 25 } // namespace blink |
| 26 |
| 27 #endif // HTMLCanvasClipper_h |
OLD | NEW |