chromium/chrome/browser/ui/views/file_system_access/file_system_access_restore_permission_bubble_view.cc

// 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.

#include "chrome/browser/ui/views/file_system_access/file_system_access_restore_permission_bubble_view.h"

#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/file_system_access/file_system_access_ui_helpers.h"
#include "chrome/browser/ui/views/bubble_anchor_util_views.h"
#include "chrome/browser/ui/views/file_system_access/file_system_access_scroll_panel.h"
#include "chrome/browser/ui/views/title_origin_label.h"
#include "chrome/grit/generated_resources.h"
#include "components/permissions/permission_util.h"
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/views/controls/button/md_text_button.h"
#include "ui/views/controls/label.h"
#include "ui/views/layout/box_layout.h"

FileSystemAccessRestorePermissionBubbleView::
    FileSystemAccessRestorePermissionBubbleView(
        const std::u16string window_title,
        const std::vector<
            FileSystemAccessPermissionRequestManager::FileRequestData>&
            file_data,
        base::OnceCallback<void(permissions::PermissionAction)> callback,
        views::View* anchor_view,
        content::WebContents* web_contents)
    :{}

FileSystemAccessRestorePermissionBubbleView::
    ~FileSystemAccessRestorePermissionBubbleView() = default;

// static
FileSystemAccessRestorePermissionBubbleView*
FileSystemAccessRestorePermissionBubbleView::CreateAndShow(
    const FileSystemAccessPermissionRequestManager::RequestData& request,
    base::OnceCallback<void(permissions::PermissionAction)> callback,
    content::WebContents* web_contents) {}

void FileSystemAccessRestorePermissionBubbleView::AddedToWidget() {}

bool FileSystemAccessRestorePermissionBubbleView::ShouldShowCloseButton()
    const {}

std::u16string FileSystemAccessRestorePermissionBubbleView::GetWindowTitle()
    const {}

void FileSystemAccessRestorePermissionBubbleView::UpdateAnchor(
    Browser* browser) {}

void FileSystemAccessRestorePermissionBubbleView::OnButtonPressed(
    RestorePermissionButton button) {}

void FileSystemAccessRestorePermissionBubbleView::OnPromptDismissed() {}

void ShowFileSystemAccessRestorePermissionDialog(
    const FileSystemAccessPermissionRequestManager::RequestData& request,
    base::OnceCallback<void(permissions::PermissionAction)> callback,
    content::WebContents* web_contents) {}

FileSystemAccessRestorePermissionBubbleView*
GetFileSystemAccessRestorePermissionDialogForTesting(  // IN-TEST
    const FileSystemAccessPermissionRequestManager::RequestData& request,
    base::OnceCallback<void(permissions::PermissionAction)> callback,
    content::WebContents* web_contents) {}

BEGIN_METADATA()