OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RESOURCES_RASTER_SOURCE_H_ | 5 #ifndef CC_RESOURCES_RASTER_SOURCE_H_ |
6 #define CC_RESOURCES_RASTER_SOURCE_H_ | 6 #define CC_RESOURCES_RASTER_SOURCE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
12 #include "cc/debug/traced_value.h" | 12 #include "cc/debug/traced_value.h" |
13 #include "skia/ext/refptr.h" | 13 #include "skia/ext/refptr.h" |
14 #include "third_party/skia/include/core/SkColor.h" | 14 #include "third_party/skia/include/core/SkColor.h" |
| 15 #include "third_party/skia/include/core/SkPixelRef.h" |
| 16 #include "ui/gfx/geometry/rect.h" |
| 17 #include "ui/gfx/geometry/size.h" |
15 | 18 |
16 class SkCanvas; | 19 class SkCanvas; |
17 class SkPicture; | 20 class SkPicture; |
18 | 21 |
19 namespace cc { | 22 namespace cc { |
20 | 23 |
21 class Picture; | 24 class Picture; |
22 | 25 |
23 class CC_EXPORT RasterSource : public base::RefCountedThreadSafe<RasterSource> { | 26 class CC_EXPORT RasterSource : public base::RefCountedThreadSafe<RasterSource> { |
24 public: | 27 public: |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 RasterSource() {} | 108 RasterSource() {} |
106 virtual ~RasterSource() {} | 109 virtual ~RasterSource() {} |
107 | 110 |
108 private: | 111 private: |
109 DISALLOW_COPY_AND_ASSIGN(RasterSource); | 112 DISALLOW_COPY_AND_ASSIGN(RasterSource); |
110 }; | 113 }; |
111 | 114 |
112 } // namespace cc | 115 } // namespace cc |
113 | 116 |
114 #endif // CC_RESOURCES_RASTER_SOURCE_H_ | 117 #endif // CC_RESOURCES_RASTER_SOURCE_H_ |
OLD | NEW |