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 namespace blink { | |
9 | |
10 class FloatRect; | |
11 class GraphicsContext; | |
12 class RenderLayer; | |
13 | |
14 class FilterPainter { | |
15 public: | |
16 FilterPainter(RenderLayer& layer) : m_renderLayer(layer) { } | |
17 bool beginFilterEffect(GraphicsContext*, const FloatRect& filterBoxRect); | |
18 void endFilterEffect(GraphicsContext*); | |
19 | |
20 private: | |
21 RenderLayer& m_renderLayer; | |
Stephen White
2014/11/11 03:53:24
Since all we need out of the RenderLayer is m_rend
chrishtr
2014/11/11 22:21:37
This is the standard pattern for these painting cl
chrishtr
2014/11/11 22:21:37
This is the standard pattern for these painting cl
| |
22 }; | |
23 | |
24 } // namespace blink | |
25 | |
26 #endif // FilterPainter_h | |
OLD | NEW |