Chromium Code Reviews| Index: ui/app_list/views/apps_grid_view.h |
| diff --git a/ui/app_list/views/apps_grid_view.h b/ui/app_list/views/apps_grid_view.h |
| index 17cb798b419876e5027def13d2faa6bae67c76c5..00bb008628112cb18b86f872c88ae841a5b596d6 100644 |
| --- a/ui/app_list/views/apps_grid_view.h |
| +++ b/ui/app_list/views/apps_grid_view.h |
| @@ -405,8 +405,12 @@ class APP_LIST_EXPORT AppsGridView : public views::View, |
| // is a valid item sits on the tile. |
| gfx::Rect GetTileBoundsForPoint(const gfx::Point& point, Index* tile_index); |
| - // Gets the bounds of the tile located at |row| and |col| on current page. |
| - gfx::Rect GetTileBounds(int row, int col) const; |
| + // Returns the size of the entire tile grid. |
| + gfx::Size GetTileGridSize() const; |
| + |
| + // Gets the expected bounds of a tile located at |row| and |col| on current |
|
Matt Giuca
2014/09/10 05:35:06
nit: on *the* current page.
calamity
2014/09/11 06:53:35
Done.
|
| + // page. |
| + gfx::Rect GetExpectedTileBounds(int row, int col) const; |
| // Returns true if the slot of |index| is the last possible slot to drop |
| // an item, i.e. first empty slot next to the last item on the last page. |