| 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_CLIP_DISPLAY_ITEM_H_ | 5 #ifndef CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_ |
| 6 #define CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_ | 6 #define CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> |
| 10 #include <vector> | 11 #include <vector> |
| 11 | 12 |
| 12 #include "base/memory/scoped_ptr.h" | |
| 13 #include "cc/base/cc_export.h" | 13 #include "cc/base/cc_export.h" |
| 14 #include "cc/playback/display_item.h" | 14 #include "cc/playback/display_item.h" |
| 15 #include "third_party/skia/include/core/SkRRect.h" | 15 #include "third_party/skia/include/core/SkRRect.h" |
| 16 #include "ui/gfx/geometry/rect.h" | 16 #include "ui/gfx/geometry/rect.h" |
| 17 | 17 |
| 18 class SkCanvas; | 18 class SkCanvas; |
| 19 | 19 |
| 20 namespace cc { | 20 namespace cc { |
| 21 class ImageSerializationProcessor; | 21 class ImageSerializationProcessor; |
| 22 | 22 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 base::trace_event::TracedValue* array) const override; | 64 base::trace_event::TracedValue* array) const override; |
| 65 size_t ExternalMemoryUsage() const override; | 65 size_t ExternalMemoryUsage() const override; |
| 66 | 66 |
| 67 int ApproximateOpCount() const { return 0; } | 67 int ApproximateOpCount() const { return 0; } |
| 68 bool IsSuitableForGpuRasterization() const { return true; } | 68 bool IsSuitableForGpuRasterization() const { return true; } |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace cc | 71 } // namespace cc |
| 72 | 72 |
| 73 #endif // CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_ | 73 #endif // CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_ |
| OLD | NEW |