// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_TABS_TAB_GROUP_DELETION_DIALOG_CONTROLLER_H_ #define CHROME_BROWSER_UI_TABS_TAB_GROUP_DELETION_DIALOG_CONTROLLER_H_ #include <memory> #include "base/functional/callback.h" #include "base/memory/raw_ptr.h" #include "base/no_destructor.h" namespace ui { class DialogModel; } class Browser; namespace tab_groups { // Controller that is responsible for showing/hiding and performing callbacks // for group deletions. Manages the state on a per-browser basis. Browsers can // only have 1 of these dialogs at a time, therefore only 1 controller. An // example of this showing up is on Ungroup from the tab group editor bubble. class DeletionDialogController { … }; } // namespace tab_groups #endif // CHROME_BROWSER_UI_TABS_TAB_GROUP_DELETION_DIALOG_CONTROLLER_H_