OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ | 5 #ifndef UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ |
6 #define UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ | 6 #define UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE {} | 41 virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE {} |
42 virtual AppListModel* GetModel() OVERRIDE; | 42 virtual AppListModel* GetModel() OVERRIDE; |
43 virtual SigninDelegate* GetSigninDelegate() OVERRIDE; | 43 virtual SigninDelegate* GetSigninDelegate() OVERRIDE; |
44 virtual SpeechUIModel* GetSpeechUI() OVERRIDE; | 44 virtual SpeechUIModel* GetSpeechUI() OVERRIDE; |
45 virtual void GetShortcutPathForApp( | 45 virtual void GetShortcutPathForApp( |
46 const std::string& app_id, | 46 const std::string& app_id, |
47 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE; | 47 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE; |
48 virtual void StartSearch() OVERRIDE {} | 48 virtual void StartSearch() OVERRIDE {} |
49 virtual void StopSearch() OVERRIDE {} | 49 virtual void StopSearch() OVERRIDE {} |
50 virtual void OpenSearchResult(SearchResult* result, | 50 virtual void OpenSearchResult(SearchResult* result, |
| 51 bool auto_launch, |
51 int event_flags) OVERRIDE; | 52 int event_flags) OVERRIDE; |
52 virtual void InvokeSearchResultAction(SearchResult* result, | 53 virtual void InvokeSearchResultAction(SearchResult* result, |
53 int action_index, | 54 int action_index, |
54 int event_flags) OVERRIDE {} | 55 int event_flags) OVERRIDE {} |
55 virtual base::TimeDelta GetAutoLaunchTimeout() OVERRIDE; | 56 virtual base::TimeDelta GetAutoLaunchTimeout() OVERRIDE; |
56 virtual void AutoLaunchCanceled() OVERRIDE {} | 57 virtual void AutoLaunchCanceled() OVERRIDE {} |
57 virtual void ViewInitialized() OVERRIDE {} | 58 virtual void ViewInitialized() OVERRIDE {} |
58 virtual void Dismiss() OVERRIDE; | 59 virtual void Dismiss() OVERRIDE; |
59 virtual void ViewClosing() OVERRIDE {} | 60 virtual void ViewClosing() OVERRIDE {} |
60 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; | 61 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; |
(...skipping 24 matching lines...) Expand all Loading... |
85 ObserverList<AppListViewDelegateObserver> observers_; | 86 ObserverList<AppListViewDelegateObserver> observers_; |
86 SpeechUIModel speech_ui_; | 87 SpeechUIModel speech_ui_; |
87 | 88 |
88 DISALLOW_COPY_AND_ASSIGN(AppListTestViewDelegate); | 89 DISALLOW_COPY_AND_ASSIGN(AppListTestViewDelegate); |
89 }; | 90 }; |
90 | 91 |
91 } // namespace test | 92 } // namespace test |
92 } // namespace app_list | 93 } // namespace app_list |
93 | 94 |
94 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ | 95 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ |
OLD | NEW |