| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "chrome/browser/ui/app_list/app_list_controller.h" | |
| 14 #include "ui/app_list/app_list_view_delegate.h" | 13 #include "ui/app_list/app_list_view_delegate.h" |
| 15 | 14 |
| 15 class AppListControllerDelegate; |
| 16 class AppsModelBuilder; | 16 class AppsModelBuilder; |
| 17 class SearchBuilder; | 17 class SearchBuilder; |
| 18 | 18 |
| 19 #if defined(USE_ASH) | 19 #if defined(USE_ASH) |
| 20 class AppSyncUIStateWatcher; | 20 class AppSyncUIStateWatcher; |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 class AppListViewDelegate : public app_list::AppListViewDelegate { | 23 class AppListViewDelegate : public app_list::AppListViewDelegate { |
| 24 public: | 24 public: |
| 25 // The delegate will take ownership of the controller. | 25 // The delegate will take ownership of the controller. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 47 scoped_ptr<AppListControllerDelegate> controller_; | 47 scoped_ptr<AppListControllerDelegate> controller_; |
| 48 | 48 |
| 49 #if defined(USE_ASH) | 49 #if defined(USE_ASH) |
| 50 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_; | 50 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_; |
| 51 #endif | 51 #endif |
| 52 | 52 |
| 53 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); | 53 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 56 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
| OLD | NEW |