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

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

Issue 380613002: Experimental app list: Added a current page indicator to the launcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed slow transition Created 6 years, 5 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
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..8a31e86b22e2a0eecdba267c377d62c761862ad1 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 set_contents_switcher_view(ContentsSwitcherView* contents_switcher_view);
calamity 2014/07/10 03:59:36 This should change to SetContentsSwitcherView now.
kcarattini 2014/07/10 06:07:46 Done.
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 thei ContentsView.
calamity 2014/07/10 03:59:36 s/thei/the/
kcarattini 2014/07/10 06:07:46 Done.
+ const PaginationModel& pagination_model() { return pagination_model_; }
+
private:
// Sets the active launcher page, accounting for whether the change is for
// search results.

Powered by Google App Engine
This is Rietveld 408576698