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() {} |