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 CC_IMAGE_LAYER_UPDATER_H_ | 5 #ifndef CC_RESOURCES_IMAGE_LAYER_UPDATER_H_ |
6 #define CC_IMAGE_LAYER_UPDATER_H_ | 6 #define CC_RESOURCES_IMAGE_LAYER_UPDATER_H_ |
7 | 7 |
8 #include "cc/layer_updater.h" | 8 #include "cc/resources/layer_updater.h" |
9 #include "third_party/skia/include/core/SkBitmap.h" | 9 #include "third_party/skia/include/core/SkBitmap.h" |
10 | 10 |
11 namespace cc { | 11 namespace cc { |
12 | 12 |
13 class ResourceUpdateQueue; | 13 class ResourceUpdateQueue; |
14 | 14 |
15 class ImageLayerUpdater : public LayerUpdater { | 15 class ImageLayerUpdater : public LayerUpdater { |
16 public: | 16 public: |
17 class Resource : public LayerUpdater::Resource { | 17 class Resource : public LayerUpdater::Resource { |
18 public: | 18 public: |
(...skipping 30 matching lines...) Expand all Loading... |
49 ImageLayerUpdater() {} | 49 ImageLayerUpdater() {} |
50 virtual ~ImageLayerUpdater() {} | 50 virtual ~ImageLayerUpdater() {} |
51 | 51 |
52 SkBitmap bitmap_; | 52 SkBitmap bitmap_; |
53 | 53 |
54 DISALLOW_COPY_AND_ASSIGN(ImageLayerUpdater); | 54 DISALLOW_COPY_AND_ASSIGN(ImageLayerUpdater); |
55 }; | 55 }; |
56 | 56 |
57 } // namespace cc | 57 } // namespace cc |
58 | 58 |
59 #endif // CC_IMAGE_LAYER_UPDATER_H_ | 59 #endif // CC_RESOURCES_IMAGE_LAYER_UPDATER_H_ |
OLD | NEW |