| 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> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 } // namespace proto | 24 } // namespace proto |
| 25 | 25 |
| 26 class ClientPictureCache; | 26 class ClientPictureCache; |
| 27 class ContentLayerClient; | 27 class ContentLayerClient; |
| 28 class DisplayItemList; | 28 class DisplayItemList; |
| 29 class RasterSource; | 29 class RasterSource; |
| 30 class Region; | 30 class Region; |
| 31 | 31 |
| 32 class CC_EXPORT RecordingSource { | 32 class CC_EXPORT RecordingSource { |
| 33 public: | 33 public: |
| 34 // TODO(schenney) Remove RECORD_WITH_SK_NULL_CANVAS when we no longer | |
| 35 // support a non-Slimming Paint path. | |
| 36 enum RecordingMode { | 34 enum RecordingMode { |
| 37 RECORD_NORMALLY, | 35 RECORD_NORMALLY, |
| 38 RECORD_WITH_SK_NULL_CANVAS, | |
| 39 RECORD_WITH_PAINTING_DISABLED, | 36 RECORD_WITH_PAINTING_DISABLED, |
| 40 RECORD_WITH_CACHING_DISABLED, | 37 RECORD_WITH_CACHING_DISABLED, |
| 41 RECORD_WITH_CONSTRUCTION_DISABLED, | 38 RECORD_WITH_CONSTRUCTION_DISABLED, |
| 42 RECORD_WITH_SUBSEQUENCE_CACHING_DISABLED, | 39 RECORD_WITH_SUBSEQUENCE_CACHING_DISABLED, |
| 43 RECORDING_MODE_COUNT, // Must be the last entry. | 40 RECORDING_MODE_COUNT, // Must be the last entry. |
| 44 }; | 41 }; |
| 45 | 42 |
| 46 RecordingSource(); | 43 RecordingSource(); |
| 47 virtual ~RecordingSource(); | 44 virtual ~RecordingSource(); |
| 48 | 45 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 void DetermineIfSolidColor(); | 93 void DetermineIfSolidColor(); |
| 97 | 94 |
| 98 InvalidationRegion invalidation_; | 95 InvalidationRegion invalidation_; |
| 99 | 96 |
| 100 DISALLOW_COPY_AND_ASSIGN(RecordingSource); | 97 DISALLOW_COPY_AND_ASSIGN(RecordingSource); |
| 101 }; | 98 }; |
| 102 | 99 |
| 103 } // namespace cc | 100 } // namespace cc |
| 104 | 101 |
| 105 #endif // CC_PLAYBACK_RECORDING_SOURCE_H_ | 102 #endif // CC_PLAYBACK_RECORDING_SOURCE_H_ |
| OLD | NEW |