blob: fa01604115dbf79d1719838e7ce9dae42739520c [file] [log] [blame]
// Copyright 2019 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.
#ifndef CHROME_BROWSER_UI_GLOBAL_MEDIA_CONTROLS_MEDIA_NOTIFICATION_CONTAINER_OBSERVER_H_
#define CHROME_BROWSER_UI_GLOBAL_MEDIA_CONTROLS_MEDIA_NOTIFICATION_CONTAINER_OBSERVER_H_
#include "base/observer_list_types.h"
class MediaNotificationContainerObserver : public base::CheckedObserver {
public:
// Called when the container's expanded state changes.
virtual void OnContainerExpanded(bool expanded) = 0;
// Called when the metadata displayed in the container changes.
virtual void OnContainerMetadataChanged() = 0;
// Called when the container is dismissed from the dialog.
virtual void OnContainerDismissed(const std::string& id) = 0;
// Called when the container is about to be deleted.
virtual void OnContainerDestroyed(const std::string& id) = 0;
protected:
~MediaNotificationContainerObserver() override = default;
};
#endif // CHROME_BROWSER_UI_GLOBAL_MEDIA_CONTROLS_MEDIA_NOTIFICATION_CONTAINER_OBSERVER_H_