| 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_DISPLAY_LIST_RECORDING_SOURCE_H_ | 5 #ifndef CC_PLAYBACK_DISPLAY_LIST_RECORDING_SOURCE_H_ |
| 6 #define CC_RESOURCES_DISPLAY_LIST_RECORDING_SOURCE_H_ | 6 #define CC_PLAYBACK_DISPLAY_LIST_RECORDING_SOURCE_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/resources/recording_source.h" | 9 #include "cc/playback/recording_source.h" |
| 10 | 10 |
| 11 namespace cc { | 11 namespace cc { |
| 12 class DisplayItemList; | 12 class DisplayItemList; |
| 13 class DisplayListRasterSource; | 13 class DisplayListRasterSource; |
| 14 | 14 |
| 15 class CC_EXPORT DisplayListRecordingSource : public RecordingSource { | 15 class CC_EXPORT DisplayListRecordingSource : public RecordingSource { |
| 16 public: | 16 public: |
| 17 DisplayListRecordingSource(const gfx::Size& grid_cell_size, | 17 DisplayListRecordingSource(const gfx::Size& grid_cell_size, |
| 18 bool use_cached_picture); | 18 bool use_cached_picture); |
| 19 ~DisplayListRecordingSource() override; | 19 ~DisplayListRecordingSource() override; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 void DetermineIfSolidColor(); | 61 void DetermineIfSolidColor(); |
| 62 | 62 |
| 63 bool is_suitable_for_gpu_rasterization_; | 63 bool is_suitable_for_gpu_rasterization_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(DisplayListRecordingSource); | 65 DISALLOW_COPY_AND_ASSIGN(DisplayListRecordingSource); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace cc | 68 } // namespace cc |
| 69 | 69 |
| 70 #endif // CC_RESOURCES_DISPLAY_LIST_RECORDING_SOURCE_H_ | 70 #endif // CC_PLAYBACK_DISPLAY_LIST_RECORDING_SOURCE_H_ |
| OLD | NEW |