| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_VIEWS_APP_LIST_APP_LIST_SHOWER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_SHOWER_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_SHOWER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_SHOWER_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "chrome/browser/ui/app_list/keep_alive_service.h" |
| 9 #include "chrome/browser/ui/views/app_list/app_list_view_factory.h" | 10 #include "chrome/browser/ui/views/app_list/app_list_view_factory.h" |
| 10 #include "chrome/browser/ui/views/app_list/app_list_view_win.h" | 11 #include "chrome/browser/ui/views/app_list/app_list_view_win.h" |
| 11 #include "chrome/browser/ui/views/app_list/keep_alive_service.h" | |
| 12 #include "ui/app_list/pagination_model.h" | 12 #include "ui/app_list/pagination_model.h" |
| 13 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
| 14 | 14 |
| 15 class Profile; | 15 class Profile; |
| 16 | 16 |
| 17 namespace app_list { | 17 namespace app_list { |
| 18 class AppListModel; | 18 class AppListModel; |
| 19 } | 19 } |
| 20 | 20 |
| 21 // Creates and shows AppListViewWins as needed. This class is created and | 21 // Creates and shows AppListViewWins as needed. This class is created and |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // PaginationModel that is shared across all views. | 56 // PaginationModel that is shared across all views. |
| 57 app_list::PaginationModel pagination_model_; | 57 app_list::PaginationModel pagination_model_; |
| 58 | 58 |
| 59 // Used to keep the browser process alive while the app list is visible. | 59 // Used to keep the browser process alive while the app list is visible. |
| 60 scoped_ptr<KeepAliveService> keep_alive_service_; | 60 scoped_ptr<KeepAliveService> keep_alive_service_; |
| 61 | 61 |
| 62 DISALLOW_COPY_AND_ASSIGN(AppListShower); | 62 DISALLOW_COPY_AND_ASSIGN(AppListShower); |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 #endif // CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_SHOWER_H_ | 65 #endif // CHROME_BROWSER_UI_VIEWS_APP_LIST_APP_LIST_SHOWER_H_ |
| OLD | NEW |