Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: ui/app_list/test/app_list_test_view_delegate.h

Issue 379333005: Allow AppSearchProvider to provide recommendations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 int GetToggleSpeechRecognitionCountAndReset(); 48 int GetToggleSpeechRecognitionCountAndReset();
49 49
50 // AppListViewDelegate overrides: 50 // AppListViewDelegate overrides:
51 virtual bool ForceNativeDesktop() const OVERRIDE; 51 virtual bool ForceNativeDesktop() const OVERRIDE;
52 virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE; 52 virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE;
53 virtual AppListModel* GetModel() OVERRIDE; 53 virtual AppListModel* GetModel() OVERRIDE;
54 virtual SpeechUIModel* GetSpeechUI() OVERRIDE; 54 virtual SpeechUIModel* GetSpeechUI() OVERRIDE;
55 virtual void GetShortcutPathForApp( 55 virtual void GetShortcutPathForApp(
56 const std::string& app_id, 56 const std::string& app_id,
57 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE; 57 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE;
58 virtual void FetchRecommendations() OVERRIDE{};
58 virtual void StartSearch() OVERRIDE {} 59 virtual void StartSearch() OVERRIDE {}
59 virtual void StopSearch() OVERRIDE {} 60 virtual void StopSearch() OVERRIDE {}
60 virtual void OpenSearchResult(SearchResult* result, 61 virtual void OpenSearchResult(SearchResult* result,
61 bool auto_launch, 62 bool auto_launch,
62 int event_flags) OVERRIDE; 63 int event_flags) OVERRIDE;
63 virtual void InvokeSearchResultAction(SearchResult* result, 64 virtual void InvokeSearchResultAction(SearchResult* result,
64 int action_index, 65 int action_index,
65 int event_flags) OVERRIDE {} 66 int event_flags) OVERRIDE {}
66 virtual base::TimeDelta GetAutoLaunchTimeout() OVERRIDE; 67 virtual base::TimeDelta GetAutoLaunchTimeout() OVERRIDE;
67 virtual void AutoLaunchCanceled() OVERRIDE; 68 virtual void AutoLaunchCanceled() OVERRIDE;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 SpeechUIModel speech_ui_; 104 SpeechUIModel speech_ui_;
104 base::TimeDelta auto_launch_timeout_; 105 base::TimeDelta auto_launch_timeout_;
105 106
106 DISALLOW_COPY_AND_ASSIGN(AppListTestViewDelegate); 107 DISALLOW_COPY_AND_ASSIGN(AppListTestViewDelegate);
107 }; 108 };
108 109
109 } // namespace test 110 } // namespace test
110 } // namespace app_list 111 } // namespace app_list
111 112
112 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ 113 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_
OLDNEW
« ui/app_list/search_provider.h ('K') | « ui/app_list/search_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698