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

Unified Diff: chrome/browser/ui/app_list/app_list_view_delegate.cc

Issue 10872099: ash: Add support for additional icons in apps search list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile 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
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.h ('k') | chrome/browser/ui/app_list/search_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/app_list_view_delegate.cc
diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.cc b/chrome/browser/ui/app_list/app_list_view_delegate.cc
index b6f2f1e60b0ce5865847000b2ad786c1349b064d..67bc837695fbc6195487fd982f2d30b56d35c70c 100644
--- a/chrome/browser/ui/app_list/app_list_view_delegate.cc
+++ b/chrome/browser/ui/app_list/app_list_view_delegate.cc
@@ -57,6 +57,14 @@ void AppListViewDelegate::OpenSearchResult(
search_builder_->OpenResult(result, event_flags);
}
+void AppListViewDelegate::InvokeSearchResultAction(
+ const app_list::SearchResult& result,
+ int action_index,
+ int event_flags) {
+ if (search_builder_.get())
+ search_builder_->InvokeResultAction(result, action_index, event_flags);
+}
+
void AppListViewDelegate::Close() {
controller_->CloseView();
}
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.h ('k') | chrome/browser/ui/app_list/search_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698