Chromium Code Reviews| Index: cc/tile.h |
| diff --git a/cc/tile.h b/cc/tile.h |
| index fb0c3f3ca9b7c89c9ea99a305dbb54fa4db4014a..ba0614c2ea5efbac1742d1bfeebf4adcc1a8fe18 100644 |
| --- a/cc/tile.h |
| +++ b/cc/tile.h |
| @@ -44,6 +44,8 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> { |
| void set_priority(WhichTree tree, const TilePriority& priority); |
| + scoped_ptr<base::Value> AsValue() const; |
| + |
| // Returns 0 if not drawable. |
| ResourceProvider::ResourceId GetResourceId() const; |
| @@ -80,6 +82,9 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> { |
| float contents_scale_; |
| gfx::Rect opaque_rect_; |
| +#ifndef NDEBUG |
|
whunt
2013/02/01 21:09:33
question: does the style guide say anything about
|
| + gfx::RectF current_screen_rect_[2]; |
|
whunt
2013/02/01 21:09:33
I don't see this value used anywhere in your tile.
|
| +#endif |
| TilePriority priority_[2]; |
| ManagedTileState managed_state_; |
| }; |