OLD | NEW |
1 // Copyright 2012 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 #ifndef ImageLayerUpdater_h | 5 #ifndef CC_IMAGE_LAYER_UPDATER_H_ |
6 #define ImageLayerUpdater_h | 6 #define CC_IMAGE_LAYER_UPDATER_H_ |
7 | 7 |
8 #include "cc/layer_updater.h" | 8 #include "cc/layer_updater.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
11 | 11 |
12 class ResourceUpdateQueue; | 12 class ResourceUpdateQueue; |
13 | 13 |
14 class ImageLayerUpdater : public LayerUpdater { | 14 class ImageLayerUpdater : public LayerUpdater { |
15 public: | 15 public: |
16 class Resource : public LayerUpdater::Resource { | 16 class Resource : public LayerUpdater::Resource { |
(...skipping 19 matching lines...) Expand all Loading... |
36 | 36 |
37 void setBitmap(const SkBitmap&); | 37 void setBitmap(const SkBitmap&); |
38 | 38 |
39 private: | 39 private: |
40 ImageLayerUpdater() { } | 40 ImageLayerUpdater() { } |
41 virtual ~ImageLayerUpdater() { } | 41 virtual ~ImageLayerUpdater() { } |
42 | 42 |
43 SkBitmap m_bitmap; | 43 SkBitmap m_bitmap; |
44 }; | 44 }; |
45 | 45 |
46 } | 46 } // namespace cc |
47 | 47 |
48 #endif | 48 #endif // CC_IMAGE_LAYER_UPDATER_H_ |
OLD | NEW |