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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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::SigninDelegate* GetSigninDelegate() OVERRIDE; | 66 virtual app_list::SigninDelegate* GetSigninDelegate() OVERRIDE; |
67 virtual app_list::SpeechUIModel* GetSpeechUI() OVERRIDE; | 67 virtual app_list::SpeechUIModel* GetSpeechUI() OVERRIDE; |
68 virtual void GetShortcutPathForApp( | 68 virtual void GetShortcutPathForApp( |
69 const std::string& app_id, | 69 const std::string& app_id, |
70 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE; | 70 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE; |
71 virtual void StartSearch() OVERRIDE; | 71 virtual void StartSearch() OVERRIDE; |
72 virtual void StopSearch() OVERRIDE; | 72 virtual void StopSearch() OVERRIDE; |
73 virtual void OpenSearchResult(app_list::SearchResult* result, | 73 virtual void OpenSearchResult(app_list::SearchResult* result, |
| 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; |
80 virtual void ViewInitialized() OVERRIDE; | 81 virtual void ViewInitialized() OVERRIDE; |
81 virtual void Dismiss() OVERRIDE; | 82 virtual void Dismiss() OVERRIDE; |
82 virtual void ViewClosing() OVERRIDE; | 83 virtual void ViewClosing() OVERRIDE; |
83 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; | 84 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 #if defined(USE_ASH) | 137 #if defined(USE_ASH) |
137 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_; | 138 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_; |
138 #endif | 139 #endif |
139 | 140 |
140 ObserverList<app_list::AppListViewDelegateObserver> observers_; | 141 ObserverList<app_list::AppListViewDelegateObserver> observers_; |
141 | 142 |
142 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); | 143 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); |
143 }; | 144 }; |
144 | 145 |
145 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 146 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
OLD | NEW |