| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 // Returns the value of |stop_speech_recognition_count_| and then resets this | 50 // Returns the value of |stop_speech_recognition_count_| and then resets this |
| 51 // value to 0. | 51 // value to 0. |
| 52 int GetStopSpeechRecognitionCountAndReset(); | 52 int GetStopSpeechRecognitionCountAndReset(); |
| 53 | 53 |
| 54 // AppListViewDelegate overrides: | 54 // AppListViewDelegate overrides: |
| 55 bool ForceNativeDesktop() const override; | 55 bool ForceNativeDesktop() const override; |
| 56 void SetProfileByPath(const base::FilePath& profile_path) override; | 56 void SetProfileByPath(const base::FilePath& profile_path) override; |
| 57 AppListModel* GetModel() override; | 57 AppListModel* GetModel() override; |
| 58 SpeechUIModel* GetSpeechUI() override; | 58 SpeechUIModel* GetSpeechUI() override; |
| 59 void GetShortcutPathForApp( | |
| 60 const std::string& app_id, | |
| 61 const base::Callback<void(const base::FilePath&)>& callback) override; | |
| 62 void StartSearch() override {} | 59 void StartSearch() override {} |
| 63 void StopSearch() override {} | 60 void StopSearch() override {} |
| 64 void OpenSearchResult(SearchResult* result, | 61 void OpenSearchResult(SearchResult* result, |
| 65 bool auto_launch, | 62 bool auto_launch, |
| 66 int event_flags) override; | 63 int event_flags) override; |
| 67 void InvokeSearchResultAction(SearchResult* result, | 64 void InvokeSearchResultAction(SearchResult* result, |
| 68 int action_index, | 65 int action_index, |
| 69 int event_flags) override {} | 66 int event_flags) override {} |
| 70 base::TimeDelta GetAutoLaunchTimeout() override; | 67 base::TimeDelta GetAutoLaunchTimeout() override; |
| 71 void AutoLaunchCanceled() override; | 68 void AutoLaunchCanceled() override; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 SpeechUIModel speech_ui_; | 105 SpeechUIModel speech_ui_; |
| 109 base::TimeDelta auto_launch_timeout_; | 106 base::TimeDelta auto_launch_timeout_; |
| 110 | 107 |
| 111 DISALLOW_COPY_AND_ASSIGN(AppListTestViewDelegate); | 108 DISALLOW_COPY_AND_ASSIGN(AppListTestViewDelegate); |
| 112 }; | 109 }; |
| 113 | 110 |
| 114 } // namespace test | 111 } // namespace test |
| 115 } // namespace app_list | 112 } // namespace app_list |
| 116 | 113 |
| 117 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ | 114 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ |
| OLD | NEW |