| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 void OnProfileChanged(); | 60 void OnProfileChanged(); |
| 61 | 61 |
| 62 // Overridden from app_list::AppListViewDelegate: | 62 // Overridden from app_list::AppListViewDelegate: |
| 63 virtual bool ForceNativeDesktop() const OVERRIDE; | 63 virtual bool ForceNativeDesktop() const OVERRIDE; |
| 64 virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE; | 64 virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE; |
| 65 virtual app_list::AppListModel* GetModel() OVERRIDE; | 65 virtual app_list::AppListModel* GetModel() OVERRIDE; |
| 66 virtual app_list::SpeechUIModel* GetSpeechUI() OVERRIDE; | 66 virtual app_list::SpeechUIModel* GetSpeechUI() OVERRIDE; |
| 67 virtual void GetShortcutPathForApp( | 67 virtual void GetShortcutPathForApp( |
| 68 const std::string& app_id, | 68 const std::string& app_id, |
| 69 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE; | 69 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE; |
| 70 virtual void FetchRecommendations() OVERRIDE; |
| 70 virtual void StartSearch() OVERRIDE; | 71 virtual void StartSearch() OVERRIDE; |
| 71 virtual void StopSearch() OVERRIDE; | 72 virtual void StopSearch() OVERRIDE; |
| 72 virtual void OpenSearchResult(app_list::SearchResult* result, | 73 virtual void OpenSearchResult(app_list::SearchResult* result, |
| 73 bool auto_launch, | 74 bool auto_launch, |
| 74 int event_flags) OVERRIDE; | 75 int event_flags) OVERRIDE; |
| 75 virtual void InvokeSearchResultAction(app_list::SearchResult* result, | 76 virtual void InvokeSearchResultAction(app_list::SearchResult* result, |
| 76 int action_index, | 77 int action_index, |
| 77 int event_flags) OVERRIDE; | 78 int event_flags) OVERRIDE; |
| 78 virtual base::TimeDelta GetAutoLaunchTimeout() OVERRIDE; | 79 virtual base::TimeDelta GetAutoLaunchTimeout() OVERRIDE; |
| 79 virtual void AutoLaunchCanceled() OVERRIDE; | 80 virtual void AutoLaunchCanceled() OVERRIDE; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 // this instance can be removed as an observer on its destruction. | 155 // this instance can be removed as an observer on its destruction. |
| 155 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_; | 156 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_; |
| 156 | 157 |
| 157 // Window contents of the additional custom launcher page. May be NULL. | 158 // Window contents of the additional custom launcher page. May be NULL. |
| 158 scoped_ptr<apps::CustomLauncherPageContents> custom_page_contents_; | 159 scoped_ptr<apps::CustomLauncherPageContents> custom_page_contents_; |
| 159 | 160 |
| 160 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); | 161 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); |
| 161 }; | 162 }; |
| 162 | 163 |
| 163 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 164 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
| OLD | NEW |