| 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" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 virtual void ActivateAppListItem(app_list::AppListItemModel* item, | 28 virtual void ActivateAppListItem(app_list::AppListItemModel* item, |
| 29 int event_flags) OVERRIDE; | 29 int event_flags) OVERRIDE; |
| 30 virtual void StartSearch() OVERRIDE; | 30 virtual void StartSearch() OVERRIDE; |
| 31 virtual void StopSearch() OVERRIDE; | 31 virtual void StopSearch() OVERRIDE; |
| 32 virtual void OpenSearchResult(const app_list::SearchResult& result, | 32 virtual void OpenSearchResult(const app_list::SearchResult& result, |
| 33 int event_flags) OVERRIDE; | 33 int event_flags) OVERRIDE; |
| 34 virtual void InvokeSearchResultAction(const app_list::SearchResult& result, | 34 virtual void InvokeSearchResultAction(const app_list::SearchResult& result, |
| 35 int action_index, | 35 int action_index, |
| 36 int event_flags) OVERRIDE; | 36 int event_flags) OVERRIDE; |
| 37 virtual void Close() OVERRIDE; | 37 virtual void Close() OVERRIDE; |
| 38 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; |
| 38 | 39 |
| 39 scoped_ptr<AppsModelBuilder> apps_builder_; | 40 scoped_ptr<AppsModelBuilder> apps_builder_; |
| 40 scoped_ptr<SearchBuilder> search_builder_; | 41 scoped_ptr<SearchBuilder> search_builder_; |
| 41 scoped_ptr<AppListController> controller_; | 42 scoped_ptr<AppListController> controller_; |
| 42 | 43 |
| 43 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); | 44 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 47 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
| OLD | NEW |