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

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 compile error (conflict). 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
« no previous file with comments | « ash/wm/app_list_controller.cc ('k') | chrome/browser/ui/app_list/app_list_shower_views.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
10 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
11 10
12 namespace app_list { 11 namespace app_list {
13 class AppListView; 12 class AppListView;
14 } 13 }
15 14
16 class AppListShowerDelegate; 15 class AppListShowerDelegate;
17 class AppListShowerUnitTest; 16 class AppListShowerUnitTest;
18 class Profile; 17 class Profile;
19 class ScopedKeepAlive; 18 class ScopedKeepAlive;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // The profile currently shown by |app_list_|. 59 // The profile currently shown by |app_list_|.
61 Profile* profile_; 60 Profile* profile_;
62 61
63 // The view, once created. Owned by native widget. 62 // The view, once created. Owned by native widget.
64 app_list::AppListView* app_list_; 63 app_list::AppListView* app_list_;
65 64
66 // Used to keep the browser process alive while the app list is visible. 65 // Used to keep the browser process alive while the app list is visible.
67 scoped_ptr<ScopedKeepAlive> keep_alive_; 66 scoped_ptr<ScopedKeepAlive> keep_alive_;
68 67
69 bool window_icon_updated_; 68 bool window_icon_updated_;
70 app_list::PaginationModel pagination_model_;
71 69
72 DISALLOW_COPY_AND_ASSIGN(AppListShower); 70 DISALLOW_COPY_AND_ASSIGN(AppListShower);
73 }; 71 };
74 72
75 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_ 73 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_
OLDNEW
« no previous file with comments | « ash/wm/app_list_controller.cc ('k') | chrome/browser/ui/app_list/app_list_shower_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698