Index: Source/core/paint/HTMLCanvasClipper.h |
diff --git a/Source/core/paint/HTMLCanvasClipper.h b/Source/core/paint/HTMLCanvasClipper.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a17bb03937dc25e8235f29d42ccd0e0bc0205b47 |
--- /dev/null |
+++ b/Source/core/paint/HTMLCanvasClipper.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef HTMLCanvasClipper_h |
+#define HTMLCanvasClipper_h |
+ |
+#include "platform/geometry/LayoutRect.h" |
+ |
+namespace blink { |
+ |
+class RenderHTMLCanvas; |
+struct PaintInfo; |
+ |
+class HTMLCanvasClipper { |
+public: |
+ HTMLCanvasClipper(RenderHTMLCanvas&, const PaintInfo&, const LayoutRect& clipRect); |
+ ~HTMLCanvasClipper(); |
+private: |
+ LayoutRect m_clipRect; |
+ const PaintInfo& m_paintInfo; |
+ RenderHTMLCanvas& m_canvas; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // HTMLCanvasClipper_h |