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

Unified Diff: ui/app_list/search_result_observer.h

Issue 439703002: Allow app list tiles to show search results in the experimental app list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix merge Created 6 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 | « ui/app_list/search_result.cc ('k') | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_result_observer.h
diff --git a/ui/app_list/search_result_observer.h b/ui/app_list/search_result_observer.h
index bef7564d45ad00352a3d5ad64fb496ec28b433d5..09249aecec1da89e16b1a66e31dc9aa657cfd6f3 100644
--- a/ui/app_list/search_result_observer.h
+++ b/ui/app_list/search_result_observer.h
@@ -12,22 +12,25 @@ namespace app_list {
class APP_LIST_EXPORT SearchResultObserver {
public:
// Invoked when the SearchResult's icon has changed.
- virtual void OnIconChanged() = 0;
+ virtual void OnIconChanged() {}
// Invoked when the SearchResult's actions have changed.
- virtual void OnActionsChanged() = 0;
+ virtual void OnActionsChanged() {}
// Invoked when the SearchResult's is_installing flag has changed.
- virtual void OnIsInstallingChanged() = 0;
+ virtual void OnIsInstallingChanged() {}
// Invoked when the download percentage has changed.
- virtual void OnPercentDownloadedChanged() = 0;
+ virtual void OnPercentDownloadedChanged() {}
// Invoked when the item represented by the SearchResult is installed.
- virtual void OnItemInstalled() = 0;
+ virtual void OnItemInstalled() {}
// Invoked when the item represented by the SearchResult is uninstalled.
- virtual void OnItemUninstalled() = 0;
+ virtual void OnItemUninstalled() {}
+
+ // Invoked just before the SearchResult is destroyed.
+ virtual void OnResultDestroying() {}
protected:
virtual ~SearchResultObserver() {}
« no previous file with comments | « ui/app_list/search_result.cc ('k') | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698