Chromium Code Reviews| 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 ade7fdbf388fe4283e79e5a78e7a565b49903b8e..58f7a12dcdde260a1619dfd7e266d9854c036f01 100644 |
| --- a/ui/app_list/views/contents_view.h |
| +++ b/ui/app_list/views/contents_view.h |
| @@ -131,6 +131,12 @@ class APP_LIST_EXPORT ContentsView : public views::View, |
| // with index |page_index|. |
| gfx::Rect GetOffscreenPageBounds(int page_index) const; |
| + // Notifies the view delegate that the custom launcher page's animation has |
| + // changed. |
| + void NotifyCustomLauncherPageAnimationChanged(double progress, |
| + int current_page, |
| + int target_page); |
| + |
| // Calculates and sets the bounds for the subviews. If there is currently an |
| // animation, this positions the views as appropriate for the current frame. |
| void UpdatePageBounds(); |
| @@ -159,6 +165,8 @@ class APP_LIST_EXPORT ContentsView : public views::View, |
| SearchResultListView* search_results_view_; |
| StartPageView* start_page_view_; |
| + AppListViewDelegate* view_delegate_; |
|
tapted
2014/11/06 06:05:45
needs to be initialized.
But I'd prefer exposing
calamity
2014/11/07 03:43:29
Done.
|
| + |
| AppListMainView* app_list_main_view_; // Parent view, owns this. |
| // Sibling view, owned by |app_list_main_view_|. |
| ContentsSwitcherView* contents_switcher_view_; |