| 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_FILTER_DISPLAY_ITEM_H_ | 5 #ifndef CC_PLAYBACK_FILTER_DISPLAY_ITEM_H_ |
| 6 #define CC_PLAYBACK_FILTER_DISPLAY_ITEM_H_ | 6 #define CC_PLAYBACK_FILTER_DISPLAY_ITEM_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
| 10 #include "cc/output/filter_operations.h" | 12 #include "cc/output/filter_operations.h" |
| 11 #include "cc/playback/display_item.h" | 13 #include "cc/playback/display_item.h" |
| 12 #include "ui/gfx/geometry/rect_f.h" | 14 #include "ui/gfx/geometry/rect_f.h" |
| 13 | 15 |
| 14 class SkCanvas; | 16 class SkCanvas; |
| 15 | 17 |
| 16 namespace cc { | 18 namespace cc { |
| 17 | 19 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 base::trace_event::TracedValue* array) const override; | 59 base::trace_event::TracedValue* array) const override; |
| 58 size_t ExternalMemoryUsage() const override; | 60 size_t ExternalMemoryUsage() const override; |
| 59 | 61 |
| 60 int ApproximateOpCount() const { return 0; } | 62 int ApproximateOpCount() const { return 0; } |
| 61 bool IsSuitableForGpuRasterization() const { return true; } | 63 bool IsSuitableForGpuRasterization() const { return true; } |
| 62 }; | 64 }; |
| 63 | 65 |
| 64 } // namespace cc | 66 } // namespace cc |
| 65 | 67 |
| 66 #endif // CC_PLAYBACK_FILTER_DISPLAY_ITEM_H_ | 68 #endif // CC_PLAYBACK_FILTER_DISPLAY_ITEM_H_ |
| OLD | NEW |