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> |
| 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | |
13 #include "cc/base/cc_export.h" | 14 #include "cc/base/cc_export.h" |
14 #include "cc/base/invalidation_region.h" | 15 #include "cc/base/invalidation_region.h" |
15 #include "third_party/skia/include/core/SkColor.h" | 16 #include "third_party/skia/include/core/SkColor.h" |
16 #include "ui/gfx/geometry/rect.h" | 17 #include "ui/gfx/geometry/rect.h" |
17 #include "ui/gfx/geometry/size.h" | 18 #include "ui/gfx/geometry/size.h" |
18 | 19 |
19 namespace cc { | 20 namespace cc { |
20 | 21 |
21 namespace proto { | 22 namespace proto { |
22 class RecordingSource; | 23 class RecordingSource; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 void DetermineIfSolidColor(); | 100 void DetermineIfSolidColor(); |
100 | 101 |
101 InvalidationRegion invalidation_; | 102 InvalidationRegion invalidation_; |
102 | 103 |
103 DISALLOW_COPY_AND_ASSIGN(RecordingSource); | 104 DISALLOW_COPY_AND_ASSIGN(RecordingSource); |
104 }; | 105 }; |
105 | 106 |
106 } // namespace cc | 107 } // namespace cc |
107 | 108 |
108 #endif // CC_PLAYBACK_RECORDING_SOURCE_H_ | 109 #endif // CC_PLAYBACK_RECORDING_SOURCE_H_ |
OLD | NEW |