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 ImageLayerUpdater_h |
6 #define ImageLayerUpdater_h | 6 #define ImageLayerUpdater_h |
7 | 7 |
8 #include "config.h" | |
9 | |
10 #include "cc/layer_updater.h" | 8 #include "cc/layer_updater.h" |
11 | 9 |
12 namespace cc { | 10 namespace cc { |
13 | 11 |
14 class ResourceUpdateQueue; | 12 class ResourceUpdateQueue; |
15 | 13 |
16 class ImageLayerUpdater : public LayerUpdater { | 14 class ImageLayerUpdater : public LayerUpdater { |
17 public: | 15 public: |
18 class Resource : public LayerUpdater::Resource { | 16 class Resource : public LayerUpdater::Resource { |
19 public: | 17 public: |
(...skipping 21 matching lines...) Expand all Loading... |
41 private: | 39 private: |
42 ImageLayerUpdater() { } | 40 ImageLayerUpdater() { } |
43 virtual ~ImageLayerUpdater() { } | 41 virtual ~ImageLayerUpdater() { } |
44 | 42 |
45 SkBitmap m_bitmap; | 43 SkBitmap m_bitmap; |
46 }; | 44 }; |
47 | 45 |
48 } | 46 } |
49 | 47 |
50 #endif | 48 #endif |
OLD | NEW |