blob: 3e68ae06e386e3a518eb8c32e92e2244aebab577 [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_GLANCEABLES_GLANCEABLES_DELEGATE_H_
#define ASH_GLANCEABLES_GLANCEABLES_DELEGATE_H_
#include "ash/ash_export.h"
namespace ash {
// Delegate interface for GlanceablesController. Implemented by an ash client
// (e.g. Chrome). Allows access to functionality at the //chrome/browser layer.
// Owned by the GlanceablesController.
class ASH_EXPORT GlanceablesDelegate {
public:
virtual ~GlanceablesDelegate() = default;
// Called after the glanceables UI is closed.
virtual void OnGlanceablesClosed() = 0;
};
} // namespace ash
#endif // ASH_GLANCEABLES_GLANCEABLES_DELEGATE_H_