#include "chrome/browser/ui/views/tab_dialogs_views.h"
#include <memory>
#include <utility>
#include "build/build_config.h"
#include "chrome/browser/ui/sync/profile_signin_confirmation_helper.h"
#include "chrome/browser/ui/views/hung_renderer_view.h"
#include "chrome/browser/ui/views/passwords/password_bubble_view_base.h"
#include "chrome/browser/ui/views/site_data/page_specific_site_data_dialog_controller.h"
#include "content/public/browser/web_contents.h"
#if defined(TOOLKIT_VIEWS) && !BUILDFLAG(IS_CHROMEOS)
#include "chrome/browser/ui/views/web_apps/deprecated_apps_dialog_view.h"
#include "chrome/browser/ui/views/web_apps/force_installed_deprecated_apps_dialog_view.h"
#include "chrome/browser/ui/views/web_apps/force_installed_preinstalled_deprecated_app_dialog_view.h"
#endif
void TabDialogs::CreateForWebContents(content::WebContents* contents) { … }
TabDialogsViews::TabDialogsViews(content::WebContents* contents)
: … { … }
TabDialogsViews::~TabDialogsViews() = default;
gfx::NativeView TabDialogsViews::GetDialogParentView() const { … }
void TabDialogsViews::ShowCollectedCookies() { … }
void TabDialogsViews::ShowHungRendererDialog(
content::RenderWidgetHost* render_widget_host,
base::RepeatingClosure hang_monitor_restarter) { … }
void TabDialogsViews::HideHungRendererDialog(
content::RenderWidgetHost* render_widget_host) { … }
bool TabDialogsViews::IsShowingHungRendererDialog() { … }
void TabDialogsViews::ShowManagePasswordsBubble(bool user_action) { … }
void TabDialogsViews::HideManagePasswordsBubble() { … }
void TabDialogsViews::ShowDeprecatedAppsDialog(
const extensions::ExtensionId& optional_launched_extension_id,
const std::set<extensions::ExtensionId>& deprecated_app_ids,
content::WebContents* web_contents) { … }
void TabDialogsViews::ShowForceInstalledDeprecatedAppsDialog(
const extensions::ExtensionId& app_id,
content::WebContents* web_contents) { … }
void TabDialogsViews::ShowForceInstalledPreinstalledDeprecatedAppDialog(
const extensions::ExtensionId& extension_id,
content::WebContents* web_contents) { … }