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

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: 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
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..d35673c9ba3e5c48768a0d7da6321134f23d7b4e 100644
--- a/ui/app_list/search_result_observer.h
+++ b/ui/app_list/search_result_observer.h
@@ -12,22 +12,24 @@ namespace app_list {
class APP_LIST_EXPORT SearchResultObserver {
public:
// Invoked when the SearchResult's icon has changed.
- virtual void OnIconChanged() = 0;
+ virtual void OnIconChanged() {}
Matt Giuca 2014/08/06 08:54:53 Hooray! Death to = 0 on observers.
calamity 2014/08/12 05:03:36 Acknowledged.
// 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() {}
+
+ virtual void OnResultDestroying() {}
Matt Giuca 2014/08/06 08:54:53 // Invoked when ...
calamity 2014/08/12 05:03:37 Done.
protected:
virtual ~SearchResultObserver() {}

Powered by Google App Engine
This is Rietveld 408576698