2023-08-01 23:39:19 +03:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2023, Andrew Kaster <akaster@serenityos.org>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2024-01-16 20:55:40 +03:00
|
|
|
#include <AK/String.h>
|
|
|
|
|
2023-08-02 20:52:59 +03:00
|
|
|
namespace Ladybird {
|
|
|
|
|
2023-12-01 20:18:40 +03:00
|
|
|
enum class EnableCallgrindProfiling {
|
2023-08-01 23:39:19 +03:00
|
|
|
No,
|
|
|
|
Yes
|
|
|
|
};
|
2023-08-02 20:52:59 +03:00
|
|
|
|
2023-12-01 20:18:40 +03:00
|
|
|
enum class EnableGPUPainting {
|
|
|
|
No,
|
|
|
|
Yes
|
|
|
|
};
|
|
|
|
|
|
|
|
enum class IsLayoutTestMode {
|
|
|
|
No,
|
|
|
|
Yes
|
|
|
|
};
|
|
|
|
|
|
|
|
enum class UseLagomNetworking {
|
|
|
|
No,
|
|
|
|
Yes
|
|
|
|
};
|
|
|
|
|
2023-12-20 19:52:17 +03:00
|
|
|
enum class WaitForDebugger {
|
|
|
|
No,
|
|
|
|
Yes
|
|
|
|
};
|
|
|
|
|
2023-12-01 20:18:40 +03:00
|
|
|
struct WebContentOptions {
|
2024-01-16 20:55:40 +03:00
|
|
|
String command_line;
|
|
|
|
String executable_path;
|
2024-02-06 18:25:22 +03:00
|
|
|
Vector<ByteString> certificates;
|
2023-12-01 20:18:40 +03:00
|
|
|
EnableCallgrindProfiling enable_callgrind_profiling { EnableCallgrindProfiling::No };
|
|
|
|
EnableGPUPainting enable_gpu_painting { EnableGPUPainting::No };
|
|
|
|
IsLayoutTestMode is_layout_test_mode { IsLayoutTestMode::No };
|
|
|
|
UseLagomNetworking use_lagom_networking { UseLagomNetworking::No };
|
2023-12-20 19:52:17 +03:00
|
|
|
WaitForDebugger wait_for_debugger { WaitForDebugger::No };
|
2023-12-01 20:18:40 +03:00
|
|
|
};
|
|
|
|
|
2023-08-02 20:52:59 +03:00
|
|
|
}
|