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_PLAYBACK_RECORDING_SOURCE_H_ | 5 #ifndef CC_PLAYBACK_RECORDING_SOURCE_H_ |
6 #define CC_PLAYBACK_RECORDING_SOURCE_H_ | 6 #define CC_PLAYBACK_RECORDING_SOURCE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "cc/base/cc_export.h" | 14 #include "cc/base/cc_export.h" |
15 #include "cc/base/invalidation_region.h" | 15 #include "cc/base/invalidation_region.h" |
16 #include "third_party/skia/include/core/SkColor.h" | 16 #include "third_party/skia/include/core/SkColor.h" |
17 #include "ui/gfx/geometry/rect.h" | 17 #include "ui/gfx/geometry/rect.h" |
18 #include "ui/gfx/geometry/size.h" | 18 #include "ui/gfx/geometry/size.h" |
19 | 19 |
20 namespace cc { | 20 namespace cc { |
21 | 21 |
22 class ClientPictureCache; | |
23 class ContentLayerClient; | |
24 class DisplayItemList; | 22 class DisplayItemList; |
25 class RasterSource; | 23 class RasterSource; |
26 class Region; | 24 class Region; |
27 | 25 |
28 class CC_EXPORT RecordingSource { | 26 class CC_EXPORT RecordingSource { |
29 public: | 27 public: |
30 enum RecordingMode { | 28 enum RecordingMode { |
31 RECORD_NORMALLY, | 29 RECORD_NORMALLY, |
32 RECORD_WITH_PAINTING_DISABLED, | 30 RECORD_WITH_PAINTING_DISABLED, |
33 RECORD_WITH_CACHING_DISABLED, | 31 RECORD_WITH_CACHING_DISABLED, |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 void DetermineIfSolidColor(); | 84 void DetermineIfSolidColor(); |
87 | 85 |
88 InvalidationRegion invalidation_; | 86 InvalidationRegion invalidation_; |
89 | 87 |
90 DISALLOW_COPY_AND_ASSIGN(RecordingSource); | 88 DISALLOW_COPY_AND_ASSIGN(RecordingSource); |
91 }; | 89 }; |
92 | 90 |
93 } // namespace cc | 91 } // namespace cc |
94 | 92 |
95 #endif // CC_PLAYBACK_RECORDING_SOURCE_H_ | 93 #endif // CC_PLAYBACK_RECORDING_SOURCE_H_ |
OLD | NEW |