blob: c057ff4c841ea2ac6d1ab9d5a026d236d3112acb [file] [log] [blame]
// Copyright 2013 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 "ash/app_list/model/app_list_model_export.h"
namespace ash {
enum class AppListConfigType;
class APP_LIST_MODEL_EXPORT AppListItemObserver {
// Invoked after item's icon is changed.
// |config_type| The app list configuration type for which the item icon
// changed.
virtual void ItemIconChanged(AppListConfigType config_type) {}
// Invoked after item's name is changed.
virtual void ItemNameChanged() {}
// Invoked after item begins or finishes installing.
virtual void ItemIsInstallingChanged() {}
// Invoked after item's download percentage changes.
virtual void ItemPercentDownloadedChanged() {}
// Invoked when the item is about to be destroyed.
virtual void ItemBeingDestroyed() {}
virtual ~AppListItemObserver() {}
} // namespace ash