#include "base/test/scoped_feature_list.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/ui_features.h"
#include "chrome/browser/ui/views/permissions/exclusive_access_permission_prompt_view.h"
#include "chrome/test/interaction/interactive_browser_test.h"
#include "components/content_settings/core/common/content_settings.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
namespace {
DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE(…);
enum class TestContentSettings { … };
}
class ExclusiveAccessPermissionPromptInteractiveTest
: public InteractiveBrowserTest { … };
IN_PROC_BROWSER_TEST_F(ExclusiveAccessPermissionPromptInteractiveTest,
AllowKeyboardLock) { … }
IN_PROC_BROWSER_TEST_F(ExclusiveAccessPermissionPromptInteractiveTest,
BlockKeyboardLock) { … }
IN_PROC_BROWSER_TEST_F(ExclusiveAccessPermissionPromptInteractiveTest,
AllowPointerLock) { … }
IN_PROC_BROWSER_TEST_F(ExclusiveAccessPermissionPromptInteractiveTest,
BlockPointerLock) { … }
IN_PROC_BROWSER_TEST_F(ExclusiveAccessPermissionPromptInteractiveTest,
AllowKeyboardLockAndPointerLock) { … }
IN_PROC_BROWSER_TEST_F(ExclusiveAccessPermissionPromptInteractiveTest,
BlockKeyboardLockAndPointerLock) { … }