| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_PICTURE_H_ | 5 #ifndef CC_PLAYBACK_PICTURE_H_ |
| 6 #define CC_RESOURCES_PICTURE_H_ | 6 #define CC_PLAYBACK_PICTURE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/containers/hash_tables.h" | 9 #include "base/containers/hash_tables.h" |
| 10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/trace_event/trace_event.h" | 14 #include "base/trace_event/trace_event.h" |
| 15 #include "cc/base/cc_export.h" | 15 #include "cc/base/cc_export.h" |
| 16 #include "cc/base/region.h" | 16 #include "cc/base/region.h" |
| 17 #include "cc/resources/pixel_ref_map.h" | 17 #include "cc/playback/pixel_ref_map.h" |
| 18 #include "cc/resources/recording_source.h" | 18 #include "cc/playback/recording_source.h" |
| 19 #include "skia/ext/refptr.h" | 19 #include "skia/ext/refptr.h" |
| 20 #include "third_party/skia/include/core/SkPicture.h" | 20 #include "third_party/skia/include/core/SkPicture.h" |
| 21 #include "ui/gfx/geometry/rect.h" | 21 #include "ui/gfx/geometry/rect.h" |
| 22 | 22 |
| 23 class SkPixelRef; | 23 class SkPixelRef; |
| 24 | 24 |
| 25 namespace base { | 25 namespace base { |
| 26 class Value; | 26 class Value; |
| 27 } | 27 } |
| 28 | 28 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 scoped_refptr<base::trace_event::ConvertableToTraceFormat> | 109 scoped_refptr<base::trace_event::ConvertableToTraceFormat> |
| 110 AsTraceableRecordData() const; | 110 AsTraceableRecordData() const; |
| 111 | 111 |
| 112 friend class base::RefCountedThreadSafe<Picture>; | 112 friend class base::RefCountedThreadSafe<Picture>; |
| 113 friend class PixelRefMap::Iterator; | 113 friend class PixelRefMap::Iterator; |
| 114 DISALLOW_COPY_AND_ASSIGN(Picture); | 114 DISALLOW_COPY_AND_ASSIGN(Picture); |
| 115 }; | 115 }; |
| 116 | 116 |
| 117 } // namespace cc | 117 } // namespace cc |
| 118 | 118 |
| 119 #endif // CC_RESOURCES_PICTURE_H_ | 119 #endif // CC_PLAYBACK_PICTURE_H_ |
| OLD | NEW |