Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: ui/app_list/views/contents_view.h

Issue 889403005: Make start page fill app list bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new_apps_grid_paddings
Patch Set: address_comment Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/views/contents_animator.cc ('k') | ui/app_list/views/contents_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ui/app_list/views/contents_animator.cc ('k') | ui/app_list/views/contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698