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_RESOURCES_PICTURE_PILE_IMPL_H_ | 5 #ifndef CC_RESOURCES_PICTURE_PILE_IMPL_H_ |
6 #define CC_RESOURCES_PICTURE_PILE_IMPL_H_ | 6 #define CC_RESOURCES_PICTURE_PILE_IMPL_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "cc/base/cc_export.h" | 14 #include "cc/base/cc_export.h" |
15 #include "cc/debug/rendering_stats_instrumentation.h" | 15 #include "cc/debug/rendering_stats_instrumentation.h" |
16 #include "cc/resources/picture_pile.h" | 16 #include "cc/resources/picture_pile.h" |
17 #include "cc/resources/raster_source.h" | 17 #include "cc/resources/raster_source.h" |
18 #include "skia/ext/analysis_canvas.h" | 18 #include "skia/ext/analysis_canvas.h" |
19 #include "skia/ext/refptr.h" | 19 #include "skia/ext/refptr.h" |
20 #include "third_party/skia/include/core/SkPicture.h" | 20 #include "third_party/skia/include/core/SkPicture.h" |
vmpstr
2014/11/13 20:13:49
nit: Either this isn't needed or the forward decla
danakj
2014/11/13 20:27:54
Removed the header.
| |
21 | 21 |
22 class SkCanvas; | |
23 class SkPicture; | |
24 class SkPixelRef; | |
25 | |
26 namespace gfx { | |
27 class Rect; | |
28 } | |
29 | |
22 namespace cc { | 30 namespace cc { |
23 | 31 |
24 class CC_EXPORT PicturePileImpl : public RasterSource { | 32 class CC_EXPORT PicturePileImpl : public RasterSource { |
25 public: | 33 public: |
26 static scoped_refptr<PicturePileImpl> Create(); | 34 static scoped_refptr<PicturePileImpl> Create(); |
27 static scoped_refptr<PicturePileImpl> CreateFromPicturePile( | 35 static scoped_refptr<PicturePileImpl> CreateFromPicturePile( |
28 const PicturePile* other); | 36 const PicturePile* other); |
29 | 37 |
30 // RasterSource overrides. See RasterSource header for full description. | 38 // RasterSource overrides. See RasterSource header for full description. |
31 // When slow-down-raster-scale-factor is set to a value greater than 1, the | 39 // When slow-down-raster-scale-factor is set to a value greater than 1, the |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
140 gfx::Rect PaddedRect(const PictureMapKey& key) const; | 148 gfx::Rect PaddedRect(const PictureMapKey& key) const; |
141 | 149 |
142 bool should_attempt_to_use_distance_field_text_; | 150 bool should_attempt_to_use_distance_field_text_; |
143 | 151 |
144 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); | 152 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); |
145 }; | 153 }; |
146 | 154 |
147 } // namespace cc | 155 } // namespace cc |
148 | 156 |
149 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_ | 157 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_ |
OLD | NEW |