OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |