chromium/components/javascript_dialogs/app_modal_dialog_queue.h

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_JAVASCRIPT_DIALOGS_APP_MODAL_DIALOG_QUEUE_H_
#define COMPONENTS_JAVASCRIPT_DIALOGS_APP_MODAL_DIALOG_QUEUE_H_

#include "base/containers/circular_deque.h"
#include "base/memory/raw_ptr.h"

namespace base {
template <typename T>
struct DefaultSingletonTraits;
}

namespace javascript_dialogs {

class AppModalDialogController;

// Keeps a queue of AppModalDialogControllers, making sure only one app modal
// dialog is shown at a time.
// This class is a singleton.
class AppModalDialogQueue {};

}  // namespace javascript_dialogs

#endif  // COMPONENTS_JAVASCRIPT_DIALOGS_APP_MODAL_DIALOG_QUEUE_H_