OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 |
6 #ifndef BitmapContentLayerUpdater_h | 6 #ifndef CC_BITMAP_CONTENT_LAYER_UPDATER_H_ |
7 #define BitmapContentLayerUpdater_h | 7 #define CC_BITMAP_CONTENT_LAYER_UPDATER_H_ |
8 | 8 |
9 #include "cc/cc_export.h" | 9 #include "cc/cc_export.h" |
10 #include "cc/content_layer_updater.h" | 10 #include "cc/content_layer_updater.h" |
11 | 11 |
12 class SkCanvas; | 12 class SkCanvas; |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 | 15 |
16 class LayerPainter; | 16 class LayerPainter; |
17 | 17 |
(...skipping 27 matching lines...) Expand all Loading... |
45 explicit BitmapContentLayerUpdater(scoped_ptr<LayerPainter>); | 45 explicit BitmapContentLayerUpdater(scoped_ptr<LayerPainter>); |
46 virtual ~BitmapContentLayerUpdater(); | 46 virtual ~BitmapContentLayerUpdater(); |
47 | 47 |
48 scoped_ptr<SkCanvas> m_canvas; | 48 scoped_ptr<SkCanvas> m_canvas; |
49 gfx::Size m_canvasSize; | 49 gfx::Size m_canvasSize; |
50 bool m_opaque; | 50 bool m_opaque; |
51 }; | 51 }; |
52 | 52 |
53 } // namespace cc | 53 } // namespace cc |
54 | 54 |
55 #endif // BitmapContentLayerUpdater_h | 55 #endif // CC_BITMAP_CONTENT_LAYER_UPDATER_H_ |
OLD | NEW |