| 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/region.h" | 20 #include "cc/base/region.h" |
| 21 #include "skia/ext/refptr.h" | 21 #include "skia/ext/refptr.h" |
| 22 #include "third_party/skia/include/core/SkBBHFactory.h" | 22 #include "third_party/skia/include/core/SkBBHFactory.h" |
| 23 #include "third_party/skia/include/core/SkPicture.h" | 23 #include "third_party/skia/include/core/SkPicture.h" |
| 24 #include "ui/gfx/rect.h" | 24 #include "ui/gfx/geometry/rect.h" |
| 25 | 25 |
| 26 class SkPixelRef; | 26 class SkPixelRef; |
| 27 | 27 |
| 28 namespace base { | 28 namespace base { |
| 29 class Value; | 29 class Value; |
| 30 } | 30 } |
| 31 | 31 |
| 32 namespace skia { | 32 namespace skia { |
| 33 class AnalysisCanvas; | 33 class AnalysisCanvas; |
| 34 } | 34 } |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 AsTraceableRecordData() const; | 160 AsTraceableRecordData() const; |
| 161 | 161 |
| 162 friend class base::RefCountedThreadSafe<Picture>; | 162 friend class base::RefCountedThreadSafe<Picture>; |
| 163 friend class PixelRefIterator; | 163 friend class PixelRefIterator; |
| 164 DISALLOW_COPY_AND_ASSIGN(Picture); | 164 DISALLOW_COPY_AND_ASSIGN(Picture); |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 } // namespace cc | 167 } // namespace cc |
| 168 | 168 |
| 169 #endif // CC_RESOURCES_PICTURE_H_ | 169 #endif // CC_RESOURCES_PICTURE_H_ |
| OLD | NEW |