blob: bc0eb87085035333815b43f163f05c97856ba56d [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.
namespace ash {
class OverviewDelegate;
class DelayedAnimationObserver {
virtual ~DelayedAnimationObserver() {}
// Sets an |owner| that can be notified when the animation that |this|
// observes completes.
virtual void SetOwner(OverviewDelegate* owner) = 0;
// Can be called by the |owner| to delete the owned widget. The |owner| is
// then responsible for deleting |this| instance of the
// DelayedAnimationObserver.
virtual void Shutdown() = 0;
} // namespace ash