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

Unified Diff: ui/app_list/app_list_view_delegate.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: ui/app_list/app_list_view_delegate.h
diff --git a/ui/app_list/app_list_view_delegate.h b/ui/app_list/app_list_view_delegate.h
index 159d6166aa1f44fb3bdedfa43811d7696d16ca0c..d7e0c82f638e881b910223d7609aebba7054700f 100644
--- a/ui/app_list/app_list_view_delegate.h
+++ b/ui/app_list/app_list_view_delegate.h
@@ -38,6 +38,12 @@ class APP_LIST_EXPORT AppListViewDelegate {
virtual void OpenSearchResult(const SearchResult& result,
int event_flags) = 0;
+ // Called to invoke a custom action on |result|. |action_index| corresponds
+ // to the index of an icon in |result.action_icons()|.
+ virtual void InvokeSearchResultAction(const SearchResult& result,
+ int action_index,
+ int event_flags) = 0;
+
// Invoked to close app list.
virtual void Close() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698