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

Side by Side Diff: chrome/browser/ui/app_list/app_list_shower_views.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, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/app_list/pagination_model.h" 9 #include "ui/app_list/pagination_model.h"
tapted 2014/06/02 04:02:21 nit: can this go?
Matt Giuca 2014/06/02 07:11:23 Done.
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
11 11
12 namespace app_list { 12 namespace app_list {
13 class AppListView; 13 class AppListView;
14 } 14 }
15 15
16 class AppListShowerDelegate; 16 class AppListShowerDelegate;
17 class AppListShowerUnitTest; 17 class AppListShowerUnitTest;
18 class Profile; 18 class Profile;
19 class ScopedKeepAlive; 19 class ScopedKeepAlive;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // The profile currently shown by |app_list_|. 60 // The profile currently shown by |app_list_|.
61 Profile* profile_; 61 Profile* profile_;
62 62
63 // The view, once created. Owned by native widget. 63 // The view, once created. Owned by native widget.
64 app_list::AppListView* app_list_; 64 app_list::AppListView* app_list_;
65 65
66 // Used to keep the browser process alive while the app list is visible. 66 // Used to keep the browser process alive while the app list is visible.
67 scoped_ptr<ScopedKeepAlive> keep_alive_; 67 scoped_ptr<ScopedKeepAlive> keep_alive_;
68 68
69 bool window_icon_updated_; 69 bool window_icon_updated_;
70 app_list::PaginationModel pagination_model_;
71 70
72 DISALLOW_COPY_AND_ASSIGN(AppListShower); 71 DISALLOW_COPY_AND_ASSIGN(AppListShower);
73 }; 72 };
74 73
75 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_ 74 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698