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

Unified Diff: ui/app_list/cocoa/apps_search_results_controller.h

Issue 19460003: One-click install for the OSX App Launcher Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Cleaner, more future-proof Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: ui/app_list/cocoa/apps_search_results_controller.h
diff --git a/ui/app_list/cocoa/apps_search_results_controller.h b/ui/app_list/cocoa/apps_search_results_controller.h
index 52290c7824cba8d6a8ada9345bf59b61c7504bcb..161d0a103918aba031526a6490d6a4a4efd15eef 100644
--- a/ui/app_list/cocoa/apps_search_results_controller.h
+++ b/ui/app_list/cocoa/apps_search_results_controller.h
@@ -20,12 +20,22 @@ class SearchResult;
@class AppsSearchResultsCell;
+// Delegate allowing AppsSearchResultsController to communicate with its owner.
@protocol AppsSearchResultsDelegate<NSObject>
+// Retrieve the model, which includes current search results.
- (app_list::AppListModel*)appListModel;
+
+// Open |result| from the model.
- (void)openResult:(app_list::SearchResult*)result;
+
+// Perform the current search again (e.g. when uninstalling a search result).
- (void)redoSearch;
+// Called when an action button is clicked for |result|, to invoke its action.
+- (void)invokeResultAction:(app_list::SearchResult*)result
+ atIndex:(int)actionIndex;
+
@end
// Controller for the search results displayed when a user types in the app list
« no previous file with comments | « ui/app_list/cocoa/apps_pagination_model_observer.h ('k') | ui/app_list/cocoa/apps_search_results_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698