chromium/chrome/browser/controlled_frame/controlled_frame_permission_request_browsertest.cc

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

#include <memory>
#include <string>
#include <vector>

#include "base/test/bind.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/test_future.h"
#include "chrome/browser/chrome_content_browser_client.h"
#include "chrome/browser/controlled_frame/controlled_frame_permission_request_test_base.h"
#include "chrome/browser/hid/chrome_hid_delegate.h"
#include "chrome/browser/hid/hid_chooser_context_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/hid/hid_chooser_controller.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/download/public/common/download_item.h"
#include "components/permissions/mock_chooser_controller_view.h"
#include "content/public/browser/download_manager.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_client.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/download_test_observer.h"
#include "extensions/common/extension_features.h"
#include "services/device/public/cpp/test/fake_hid_manager.h"
#include "services/device/public/cpp/test/scoped_geolocation_overrider.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy_feature.mojom-forward.h"

Contains;
StartsWith;

namespace controlled_frame {

ControlledFramePermissionRequestTest;

IN_PROC_BROWSER_TEST_P(ControlledFramePermissionRequestTest, Camera) {}

IN_PROC_BROWSER_TEST_P(ControlledFramePermissionRequestTest, Microphone) {}

IN_PROC_BROWSER_TEST_P(ControlledFramePermissionRequestTest, Geolocation) {}

IN_PROC_BROWSER_TEST_P(ControlledFramePermissionRequestTest,
                       RequestFileSystem) {}

class TestDownloadManagerObserver : public content::DownloadManager::Observer {};

IN_PROC_BROWSER_TEST_P(ControlledFramePermissionRequestTest, Download) {}

INSTANTIATE_TEST_SUITE_P();

class MockHidDelegate : public ChromeHidDelegate {};

class TestContentBrowserClient : public ChromeContentBrowserClient {};

class ControlledFramePermissionRequestWebHidTest
    : public ControlledFramePermissionRequestTest {};

IN_PROC_BROWSER_TEST_P(ControlledFramePermissionRequestWebHidTest, WebHid) {}

INSTANTIATE_TEST_SUITE_P();

}  // namespace controlled_frame