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_RESOURCES_PICTURE_PILE_BASE_H_ | 5 #ifndef CC_RESOURCES_PICTURE_PILE_BASE_H_ |
6 #define CC_RESOURCES_PICTURE_PILE_BASE_H_ | 6 #define CC_RESOURCES_PICTURE_PILE_BASE_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "cc/base/cc_export.h" | 13 #include "cc/base/cc_export.h" |
14 #include "cc/base/hash_pair.h" | |
15 #include "cc/base/region.h" | 14 #include "cc/base/region.h" |
16 #include "cc/base/tiling_data.h" | 15 #include "cc/base/tiling_data.h" |
17 #include "cc/resources/picture.h" | 16 #include "cc/resources/picture.h" |
18 #include "ui/gfx/size.h" | 17 #include "ui/gfx/size.h" |
19 | 18 |
20 namespace base { | 19 namespace base { |
21 class Value; | 20 class Value; |
22 } | 21 } |
23 | 22 |
24 namespace cc { | 23 namespace cc { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 private: | 73 private: |
75 void SetBufferPixels(int buffer_pixels); | 74 void SetBufferPixels(int buffer_pixels); |
76 | 75 |
77 friend class base::RefCounted<PicturePileBase>; | 76 friend class base::RefCounted<PicturePileBase>; |
78 DISALLOW_COPY_AND_ASSIGN(PicturePileBase); | 77 DISALLOW_COPY_AND_ASSIGN(PicturePileBase); |
79 }; | 78 }; |
80 | 79 |
81 } // namespace cc | 80 } // namespace cc |
82 | 81 |
83 #endif // CC_RESOURCES_PICTURE_PILE_BASE_H_ | 82 #endif // CC_RESOURCES_PICTURE_PILE_BASE_H_ |
OLD | NEW |