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

Unified Diff: ui/app_list/search_result.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: Created 6 years, 3 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
« ui/app_list/search_result.h ('K') | « ui/app_list/search_result.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_result.cc
diff --git a/ui/app_list/search_result.cc b/ui/app_list/search_result.cc
index 653d08950d9a81911a5b4e2f8560c3ad6b518ff2..f12b68ea9cd266fa64126b5d9a47f17db8bc77f8 100644
--- a/ui/app_list/search_result.cc
+++ b/ui/app_list/search_result.cc
@@ -97,6 +97,17 @@ void SearchResult::RemoveObserver(SearchResultObserver* observer) {
observers_.RemoveObserver(observer);
}
+scoped_ptr<SearchResult> SearchResult::Duplicate() {
+ NOTREACHED();
+ return scoped_ptr<SearchResult>();
+}
+
+SearchResultType SearchResult::GetType() {
+ // This is defined for testing, the actual search result must set the type.
+ NOTREACHED();
+ return SEARCH_RESULT_TYPE_BOUNDARY;
+}
+
void SearchResult::Open(int event_flags) {
}
« ui/app_list/search_result.h ('K') | « ui/app_list/search_result.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698