Chromium Code Reviews| Index: cc/resources/tile_priority_queue.h |
| diff --git a/cc/resources/tile_priority_queue.h b/cc/resources/tile_priority_queue.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8908482dbcb63e31c9de6758b628c70b33e72f9c |
| --- /dev/null |
| +++ b/cc/resources/tile_priority_queue.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CC_RESOURCES_TILE_PRIORITY_QUEUE_H_ |
| +#define CC_RESOURCES_TILE_PRIORITY_QUEUE_H_ |
| + |
| +#include "cc/base/cc_export.h" |
| + |
| +namespace cc { |
| + |
| +class Tile; |
| + |
| +class CC_EXPORT TilePriorityQueue { |
|
reveman
2014/07/14 15:52:38
I don't think you need CC_EXPORT when the dtor is
vmpstr
2014/07/14 18:10:44
Done.
|
| + public: |
| + virtual void Pop() = 0; |
| + virtual bool IsEmpty() = 0; |
| + virtual Tile* Top() = 0; |
| + |
| + protected: |
| + virtual ~TilePriorityQueue() {} |
| +}; |
| + |
| +} // namespace cc |
| + |
| +#endif // CC_RESOURCES_TILE_PRIORITY_QUEUE_H_ |