OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TILING_SET_RASTER_QUEUE_H_ | 5 #ifndef CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_ |
6 #define CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_ | 6 #define CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_ |
7 | 7 |
8 namespace cc { | 8 namespace cc { |
9 class Tile; | 9 class Tile; |
10 | 10 |
| 11 // TODO(vmpstr): Remove this, since RasterTilePriorityQueue knows the type |
| 12 // directly. |
11 class TilingSetRasterQueue { | 13 class TilingSetRasterQueue { |
12 public: | 14 public: |
13 virtual ~TilingSetRasterQueue() {} | 15 virtual ~TilingSetRasterQueue() {} |
14 | 16 |
15 virtual Tile* Top() = 0; | 17 virtual Tile* Top() = 0; |
16 virtual const Tile* Top() const = 0; | 18 virtual const Tile* Top() const = 0; |
17 virtual void Pop() = 0; | 19 virtual void Pop() = 0; |
18 virtual bool IsEmpty() const = 0; | 20 virtual bool IsEmpty() const = 0; |
19 }; | 21 }; |
20 | 22 |
21 } // namespace cc | 23 } // namespace cc |
22 | 24 |
23 #endif // CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_ | 25 #endif // CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_ |
OLD | NEW |