chromium/chrome/browser/ui/extensions/controlled_home_bubble_delegate.h

// Copyright 2023 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_EXTENSIONS_CONTROLLED_HOME_BUBBLE_DELEGATE_H_
#define CHROME_BROWSER_UI_EXTENSIONS_CONTROLLED_HOME_BUBBLE_DELEGATE_H_

#include <optional>

#include "base/auto_reset.h"
#include "base/scoped_observation.h"
#include "chrome/browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/extension_registry_observer.h"
#include "ui/base/mojom/dialog_button.mojom.h"

class Browser;
class Profile;

namespace extensions {
class Extension;
}

// A bubble shown for an extension overriding the user's home page (different
// than the NTP).
// TODO(crbug.com/40946250): Have this class use the new dialog builders
// and remove ToolbarActionsBarBubbleDelegate.
class ControlledHomeBubbleDelegate
    : public ToolbarActionsBarBubbleDelegate,
      public extensions::ExtensionRegistryObserver {};

#endif  // CHROME_BROWSER_UI_EXTENSIONS_CONTROLLED_HOME_BUBBLE_DELEGATE_H_