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 FilterPainter_h |
| 6 #define FilterPainter_h |
| 7 |
| 8 #include "core/rendering/LayerPaintingInfo.h" |
| 9 #include "wtf/OwnPtr.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class ClipRecorder; |
| 14 class ClipRect; |
| 15 class FloatRect; |
| 16 class GraphicsContext; |
| 17 class RenderLayer; |
| 18 |
| 19 class FilterPainter { |
| 20 public: |
| 21 FilterPainter(RenderLayer&, GraphicsContext*, const FloatRect& filterBoxRect
, const ClipRect&, const LayerPaintingInfo&, PaintLayerFlags paintFlags); |
| 22 ~FilterPainter(); |
| 23 |
| 24 private: |
| 25 bool m_filterInProgress; |
| 26 GraphicsContext* m_context; |
| 27 OwnPtr<ClipRecorder> m_clipRecorder; |
| 28 }; |
| 29 |
| 30 } // namespace blink |
| 31 |
| 32 #endif // FilterPainter_h |
OLD | NEW |