blob: 72ed4fb25d56c0fc4276b713e8cd9d32f0a539ff [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/app_list/app_list_export.h"
namespace app_list {
class APP_LIST_EXPORT SearchResultObserver {
// Invoked when the SearchResult's icon has changed.
virtual void OnIconChanged() {}
// Invoked when the SearchResult's badge icon has changed.
virtual void OnBadgeIconChanged() {}
// Invoked when the SearchResult's actions have changed.
virtual void OnActionsChanged() {}
// Invoked when the SearchResult's is_installing flag has changed.
virtual void OnIsInstallingChanged() {}
// Invoked when the download percentage has changed.
virtual void OnPercentDownloadedChanged() {}
// Invoked when the item represented by the SearchResult is installed.
virtual void OnItemInstalled() {}
// Invoked just before the SearchResult is destroyed.
virtual void OnResultDestroying() {}
virtual ~SearchResultObserver() {}
} // namespace app_list