| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_PIXEL_REF_MAP_H_ | 5 #ifndef CC_PLAYBACK_PIXEL_REF_MAP_H_ |
| 6 #define CC_RESOURCES_PIXEL_REF_MAP_H_ | 6 #define CC_PLAYBACK_PIXEL_REF_MAP_H_ |
| 7 | 7 |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
| 12 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "cc/base/cc_export.h" | 14 #include "cc/base/cc_export.h" |
| 15 #include "third_party/skia/include/core/SkPicture.h" | 15 #include "third_party/skia/include/core/SkPicture.h" |
| 16 #include "ui/gfx/geometry/rect.h" | 16 #include "ui/gfx/geometry/rect.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 private: | 84 private: |
| 85 gfx::Point min_pixel_cell_; | 85 gfx::Point min_pixel_cell_; |
| 86 gfx::Point max_pixel_cell_; | 86 gfx::Point max_pixel_cell_; |
| 87 gfx::Size cell_size_; | 87 gfx::Size cell_size_; |
| 88 | 88 |
| 89 PixelRefHashmap data_hash_map_; | 89 PixelRefHashmap data_hash_map_; |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace cc | 92 } // namespace cc |
| 93 | 93 |
| 94 #endif // CC_RESOURCES_PIXEL_REF_MAP_H_ | 94 #endif // CC_PLAYBACK_PIXEL_REF_MAP_H_ |
| OLD | NEW |