| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEW_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "components/search_engines/template_url_service.h" | 23 #include "components/search_engines/template_url_service.h" |
| 24 #include "components/search_engines/template_url_service_observer.h" | 24 #include "components/search_engines/template_url_service_observer.h" |
| 25 #include "components/signin/core/browser/signin_manager_base.h" | 25 #include "components/signin/core/browser/signin_manager_base.h" |
| 26 #include "content/public/browser/notification_observer.h" | 26 #include "content/public/browser/notification_observer.h" |
| 27 #include "content/public/browser/notification_registrar.h" | 27 #include "content/public/browser/notification_registrar.h" |
| 28 #include "ui/app_list/app_list_view_delegate.h" | 28 #include "ui/app_list/app_list_view_delegate.h" |
| 29 | 29 |
| 30 class AppListControllerDelegate; | 30 class AppListControllerDelegate; |
| 31 class Profile; | 31 class Profile; |
| 32 | 32 |
| 33 namespace apps { | 33 namespace app_list { |
| 34 class CustomLauncherPageContents; | 34 class CustomLauncherPageContents; |
| 35 } | |
| 36 | |
| 37 namespace app_list { | |
| 38 class LauncherPageEventDispatcher; | 35 class LauncherPageEventDispatcher; |
| 39 class SearchController; | 36 class SearchController; |
| 40 class SearchResourceManager; | 37 class SearchResourceManager; |
| 41 class SpeechUIModel; | 38 class SpeechUIModel; |
| 42 } | 39 } |
| 43 | 40 |
| 44 namespace base { | 41 namespace base { |
| 45 class FilePath; | 42 class FilePath; |
| 46 } | 43 } |
| 47 | 44 |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 #endif | 183 #endif |
| 187 | 184 |
| 188 ScopedObserver<TemplateURLService, AppListViewDelegate> | 185 ScopedObserver<TemplateURLService, AppListViewDelegate> |
| 189 template_url_service_observer_; | 186 template_url_service_observer_; |
| 190 | 187 |
| 191 // Used to track the SigninManagers that this instance is observing so that | 188 // Used to track the SigninManagers that this instance is observing so that |
| 192 // this instance can be removed as an observer on its destruction. | 189 // this instance can be removed as an observer on its destruction. |
| 193 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_; | 190 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_; |
| 194 | 191 |
| 195 // Window contents of additional custom launcher pages. | 192 // Window contents of additional custom launcher pages. |
| 196 std::vector<std::unique_ptr<apps::CustomLauncherPageContents>> | 193 std::vector<std::unique_ptr<app_list::CustomLauncherPageContents>> |
| 197 custom_page_contents_; | 194 custom_page_contents_; |
| 198 | 195 |
| 199 // Registers for NOTIFICATION_APP_TERMINATING to unload custom launcher pages. | 196 // Registers for NOTIFICATION_APP_TERMINATING to unload custom launcher pages. |
| 200 content::NotificationRegistrar registrar_; | 197 content::NotificationRegistrar registrar_; |
| 201 | 198 |
| 202 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); | 199 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); |
| 203 }; | 200 }; |
| 204 | 201 |
| 205 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 202 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
| OLD | NEW |