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

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

Issue 302803002: Refactor app list so AppsGridView owns the PaginationModel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests and bugs. Created 6 years, 7 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/app_list_view.h
diff --git a/ui/app_list/views/app_list_view.h b/ui/app_list/views/app_list_view.h
index c3effe963206fe00789694ebbeb7ef4cba516d77..6be4143a108c62ce0397891747238cddc797fb41 100644
--- a/ui/app_list/views/app_list_view.h
+++ b/ui/app_list/views/app_list_view.h
@@ -29,7 +29,6 @@ class AppListModel;
class AppListViewDelegate;
class AppListViewObserver;
class HideViewAnimationObserver;
-class PaginationModel;
class SigninDelegate;
class SigninView;
class SpeechView;
@@ -47,7 +46,6 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
// Initializes the widget and use a given |anchor| plus an |anchor_offset| for
// positioning.
void InitAsBubbleAttachedToAnchor(gfx::NativeView parent,
- PaginationModel* pagination_model,
views::View* anchor,
const gfx::Vector2d& anchor_offset,
views::BubbleBorder::Arrow arrow,
@@ -56,7 +54,6 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
// Initializes the widget and use a fixed |anchor_point_in_screen| for
// positioning.
void InitAsBubbleAtFixedLocation(gfx::NativeView parent,
- PaginationModel* pagination_model,
const gfx::Point& anchor_point_in_screen,
views::BubbleBorder::Arrow arrow,
bool border_accepts_events);
@@ -119,7 +116,6 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
friend class ::test::AppListViewTestApi;
void InitAsBubbleInternal(gfx::NativeView parent,
- PaginationModel* pagination_model,
views::BubbleBorder::Arrow arrow,
bool border_accepts_events,
const gfx::Vector2d& anchor_offset);

Powered by Google App Engine
This is Rietveld 408576698