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 ed2abb348f9acb642be67350f160ccfdc54d0e16..e57a0d2a34958daffc9192839a0bfc8e7cb8a556 100644 |
--- a/ui/app_list/views/contents_view.h |
+++ b/ui/app_list/views/contents_view.h |
@@ -65,10 +65,7 @@ class APP_LIST_EXPORT ContentsView : public views::View, |
void SetDragAndDropHostOfCurrentAppList( |
ApplicationDragAndDropHost* drag_and_drop_host); |
- void set_contents_switcher_view( |
- ContentsSwitcherView* contents_switcher_view) { |
- contents_switcher_view_ = contents_switcher_view; |
- } |
+ void SetContentsSwitcherView(ContentsSwitcherView* contents_switcher_view); |
void ShowSearchResults(bool show); |
void ShowFolderContent(AppListFolderItem* folder); |
@@ -110,6 +107,9 @@ class APP_LIST_EXPORT ContentsView : public views::View, |
virtual void TransitionStarted() OVERRIDE; |
virtual void TransitionChanged() OVERRIDE; |
+ // Returns the pagination model for the ContentsView. |
+ const PaginationModel& pagination_model() { return pagination_model_; } |
+ |
private: |
// Sets the active launcher page, accounting for whether the change is for |
// search results. |