| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PICTURE_PILE_BASE_H_ | 5 #ifndef CC_RESOURCES_PICTURE_PILE_BASE_H_ |
| 6 #define CC_PICTURE_PILE_BASE_H_ | 6 #define CC_RESOURCES_PICTURE_PILE_BASE_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 | 9 |
| 10 #include "base/hash_tables.h" | 10 #include "base/hash_tables.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
| 13 #include "cc/base/hash_pair.h" | 13 #include "cc/base/hash_pair.h" |
| 14 #include "cc/base/region.h" | 14 #include "cc/base/region.h" |
| 15 #include "cc/base/tiling_data.h" | 15 #include "cc/base/tiling_data.h" |
| 16 #include "cc/picture.h" | 16 #include "cc/resources/picture.h" |
| 17 #include "ui/gfx/size.h" | 17 #include "ui/gfx/size.h" |
| 18 | 18 |
| 19 namespace cc { | 19 namespace cc { |
| 20 | 20 |
| 21 class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> { | 21 class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> { |
| 22 public: | 22 public: |
| 23 PicturePileBase(); | 23 PicturePileBase(); |
| 24 PicturePileBase(const PicturePileBase* other); | 24 PicturePileBase(const PicturePileBase* other); |
| 25 PicturePileBase(const PicturePileBase* other, unsigned thread_index); | 25 PicturePileBase(const PicturePileBase* other, unsigned thread_index); |
| 26 | 26 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 private: | 64 private: |
| 65 void SetBufferPixels(int buffer_pixels); | 65 void SetBufferPixels(int buffer_pixels); |
| 66 | 66 |
| 67 friend class base::RefCounted<PicturePileBase>; | 67 friend class base::RefCounted<PicturePileBase>; |
| 68 DISALLOW_COPY_AND_ASSIGN(PicturePileBase); | 68 DISALLOW_COPY_AND_ASSIGN(PicturePileBase); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace cc | 71 } // namespace cc |
| 72 | 72 |
| 73 #endif // CC_PICTURE_PILE_H_ | 73 #endif // CC_RESOURCES_PICTURE_PILE_BASE_H_ |
| OLD | NEW |