| 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 8d996a6c75f375060ed4bae0c6ea24e436866674..31f2fed2f140cc157c7322f61b995cca15980360 100644
|
| --- a/ui/app_list/views/apps_grid_view.h
|
| +++ b/ui/app_list/views/apps_grid_view.h
|
| @@ -78,6 +78,9 @@ class APP_LIST_EXPORT AppsGridView : public views::View,
|
| // Sets |model| to use. Note this does not take ownership of |model|.
|
| void SetModel(AppListModel* model);
|
|
|
| + // Set |apps| to renders. Note this does not take ownership of |apps|.
|
| + void SetApps(AppListModel::Apps* apps);
|
| +
|
| void SetSelectedView(views::View* view);
|
| void ClearSelectedView(views::View* view);
|
| bool IsSelectedView(const views::View* view) const;
|
| @@ -131,9 +134,6 @@ class APP_LIST_EXPORT AppsGridView : public views::View,
|
| // Stops the timer that triggers a page flip during a drag.
|
| void StopPageFlipTimer();
|
|
|
| - // Get the last grid view which was created.
|
| - static AppsGridView* GetLastGridViewForTest();
|
| -
|
| // Return the view model for test purposes.
|
| const views::ViewModel* view_model_for_test() const { return &view_model_; }
|
|
|
| @@ -272,6 +272,7 @@ class APP_LIST_EXPORT AppsGridView : public views::View,
|
| void SetViewHidden(views::View* view, bool hide, bool immediate);
|
|
|
| AppListModel* model_; // Owned by AppListView.
|
| + AppListModel::Apps* apps_; // Not owned.
|
| AppsGridViewDelegate* delegate_;
|
| PaginationModel* pagination_model_; // Owned by AppListController.
|
| PageSwitcher* page_switcher_view_; // Owned by views hierarchy.
|
|
|