OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 | 5 // Temporary forwarding header |
6 #ifndef LayerPainterChromium_h | 6 #include "cc/layer_painter.h" |
7 #define LayerPainterChromium_h | |
8 | |
9 #if USE(ACCELERATED_COMPOSITING) | |
10 | |
11 class SkCanvas; | |
12 | |
13 namespace cc { | |
14 | |
15 class FloatRect; | |
16 class IntRect; | |
17 | |
18 class LayerPainterChromium { | |
19 public: | |
20 virtual ~LayerPainterChromium() { } | |
21 virtual void paint(SkCanvas*, const IntRect& contentRect, FloatRect& opaque)
= 0; | |
22 }; | |
23 | |
24 } // namespace cc | |
25 #endif // USE(ACCELERATED_COMPOSITING) | |
26 #endif // LayerPainterChromium_h | |
OLD | NEW |