Chromium Code Reviews| 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&, LayerPaintingInfo, PaintLayerFlags paintFlags); | |
| 22 | |
| 23 ~FilterPainter(); | |
| 24 void endFilterEffect(GraphicsContext*); | |
|
Stephen White
2014/11/11 22:20:55
This doesn't seem to be defined anywhere.
chrishtr
2014/11/11 22:22:42
Done.
| |
| 25 | |
| 26 private: | |
| 27 bool m_filterInProgress; | |
| 28 GraphicsContext* m_context; | |
| 29 OwnPtr<ClipRecorder> m_clipRecorder; | |
| 30 }; | |
| 31 | |
| 32 } // namespace blink | |
| 33 | |
| 34 #endif // FilterPainter_h | |
| OLD | NEW |