| 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 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 // Overridden from app_list::AppListViewDelegate: | 26 // Overridden from app_list::AppListViewDelegate: |
| 27 virtual void SetModel(app_list::AppListModel* model) OVERRIDE; | 27 virtual void SetModel(app_list::AppListModel* model) OVERRIDE; |
| 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, |
| 35 int action_index, |
| 36 int event_flags) OVERRIDE; |
| 34 virtual void Close() OVERRIDE; | 37 virtual void Close() OVERRIDE; |
| 35 | 38 |
| 36 scoped_ptr<AppsModelBuilder> apps_builder_; | 39 scoped_ptr<AppsModelBuilder> apps_builder_; |
| 37 scoped_ptr<SearchBuilder> search_builder_; | 40 scoped_ptr<SearchBuilder> search_builder_; |
| 38 scoped_ptr<AppListController> controller_; | 41 scoped_ptr<AppListController> controller_; |
| 39 | 42 |
| 40 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); | 43 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); |
| 41 }; | 44 }; |
| 42 | 45 |
| 43 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 46 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
| OLD | NEW |