| 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_DISPLAY_ITEM_H_ | 5 #ifndef CC_PLAYBACK_DISPLAY_ITEM_H_ |
| 6 #define CC_PLAYBACK_DISPLAY_ITEM_H_ | 6 #define CC_PLAYBACK_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/debug/traced_value.h" | 12 #include "cc/debug/traced_value.h" |
| 11 #include "third_party/skia/include/core/SkPicture.h" | 13 #include "third_party/skia/include/core/SkPicture.h" |
| 12 #include "ui/gfx/geometry/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
| 13 | 15 |
| 14 class SkCanvas; | 16 class SkCanvas; |
| 15 | 17 |
| 16 namespace cc { | 18 namespace cc { |
| 17 | 19 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 32 // For tracing. | 34 // For tracing. |
| 33 virtual size_t ExternalMemoryUsage() const = 0; | 35 virtual size_t ExternalMemoryUsage() const = 0; |
| 34 | 36 |
| 35 protected: | 37 protected: |
| 36 DisplayItem(); | 38 DisplayItem(); |
| 37 }; | 39 }; |
| 38 | 40 |
| 39 } // namespace cc | 41 } // namespace cc |
| 40 | 42 |
| 41 #endif // CC_PLAYBACK_DISPLAY_ITEM_H_ | 43 #endif // CC_PLAYBACK_DISPLAY_ITEM_H_ |
| OLD | NEW |