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

Unified Diff: chrome/browser/ui/app_list/search_builder.h

Issue 10872099: ash: Add support for additional icons in apps search list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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: chrome/browser/ui/app_list/search_builder.h
diff --git a/chrome/browser/ui/app_list/search_builder.h b/chrome/browser/ui/app_list/search_builder.h
index 70ceb19d9fd6b333f906c283dbb3409eeffb0d46..f5f2d26d91eff08262143764fbc305afc64cef2a 100644
--- a/chrome/browser/ui/app_list/search_builder.h
+++ b/chrome/browser/ui/app_list/search_builder.h
@@ -34,8 +34,15 @@ class SearchBuilder : public AutocompleteControllerDelegate {
void StartSearch();
void StopSearch();
+ // Opens |result|.
void OpenResult(const app_list::SearchResult& result, int event_flags);
+ // Invokes a custom action on |result|. |action_index| corresponds to the
+ // index of the selected icon in |result.action_icons()|.
+ void InvokeResultAction(const app_list::SearchResult& result,
+ int action_index,
+ int event_flags);
+
private:
// Populates result list from AutocompleteResult.
void PopulateFromACResult(const AutocompleteResult& result);

Powered by Google App Engine
This is Rietveld 408576698