Index: ui/app_list/views/contents_view.h |
diff --git a/ui/app_list/views/contents_view.h b/ui/app_list/views/contents_view.h |
index 3d296d8d4f8b8730d223d828c9a06c34295b8d0a..55e55f1135af48336b1bc0a80590716a8ccbb4d3 100644 |
--- a/ui/app_list/views/contents_view.h |
+++ b/ui/app_list/views/contents_view.h |
@@ -114,6 +114,14 @@ class APP_LIST_EXPORT ContentsView : public views::View, |
// Returns the pagination model for the ContentsView. |
const PaginationModel& pagination_model() { return pagination_model_; } |
+ // Gets the on-screen page bounds for a given launcher page with index |
+ // |page_index|. |
+ gfx::Rect GetOnscreenPageBounds(int page_index) const; |
+ |
+ // Gets the the off-screen resting place for a given launcher page with index |
+ // |page_index|. |
+ gfx::Rect GetOffscreenPageBounds(int page_index) const; |
+ |
// Returns search box bounds to use for content views that do not specify |
// their own custom layout. |
gfx::Rect GetDefaultSearchBoxBounds() const; |