| 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_RESOURCES_PICTURE_H_ |
| 6 #define CC_RESOURCES_PICTURE_H_ | 6 #define CC_RESOURCES_PICTURE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
| 14 #include "base/debug/trace_event.h" | 14 #include "base/debug/trace_event.h" |
| 15 #include "base/lazy_instance.h" | 15 #include "base/lazy_instance.h" |
| 16 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 18 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
| 19 #include "cc/base/cc_export.h" | 19 #include "cc/base/cc_export.h" |
| 20 #include "cc/base/hash_pair.h" | |
| 21 #include "skia/ext/lazy_pixel_ref.h" | 20 #include "skia/ext/lazy_pixel_ref.h" |
| 22 #include "skia/ext/refptr.h" | 21 #include "skia/ext/refptr.h" |
| 23 #include "third_party/skia/include/core/SkPixelRef.h" | 22 #include "third_party/skia/include/core/SkPixelRef.h" |
| 24 #include "third_party/skia/include/core/SkTileGridPicture.h" | 23 #include "third_party/skia/include/core/SkTileGridPicture.h" |
| 25 #include "ui/gfx/rect.h" | 24 #include "ui/gfx/rect.h" |
| 26 | 25 |
| 27 namespace base { | 26 namespace base { |
| 28 class Value; | 27 class Value; |
| 29 } | 28 } |
| 30 | 29 |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 AsTraceableRasterData(gfx::Rect rect, float scale); | 139 AsTraceableRasterData(gfx::Rect rect, float scale); |
| 141 | 140 |
| 142 friend class base::RefCountedThreadSafe<Picture>; | 141 friend class base::RefCountedThreadSafe<Picture>; |
| 143 friend class PixelRefIterator; | 142 friend class PixelRefIterator; |
| 144 DISALLOW_COPY_AND_ASSIGN(Picture); | 143 DISALLOW_COPY_AND_ASSIGN(Picture); |
| 145 }; | 144 }; |
| 146 | 145 |
| 147 } // namespace cc | 146 } // namespace cc |
| 148 | 147 |
| 149 #endif // CC_RESOURCES_PICTURE_H_ | 148 #endif // CC_RESOURCES_PICTURE_H_ |
| OLD | NEW |