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

Unified Diff: ash/shell/app_list.cc

Issue 621823004: Simplifies the structure of app_list search a bit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years, 2 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: ash/shell/app_list.cc
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc
index 1c00f2b66431d1b49e193a43d2a169696efbf707..f159dfd1acebedce09538afe3348d2c7f3c3246f 100644
--- a/ash/shell/app_list.cc
+++ b/ash/shell/app_list.cc
@@ -188,6 +188,11 @@ class ExampleSearchResult : public app_list::SearchResult {
WindowTypeShelfItem::Type type() const { return type_; }
+ // app_list::SearchResult:
+ virtual scoped_ptr<SearchResult> Duplicate() override {
+ return scoped_ptr<SearchResult>();
+ }
+
private:
WindowTypeShelfItem::Type type_;
« no previous file with comments | « no previous file | athena/home/app_list_view_delegate.cc » ('j') | chrome/browser/ui/app_list/search/search_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698