/* * Copyright (c) 2024, Andrew Kaster * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include namespace Web::HTML { struct WebViewHints { bool popup = false; Optional width = {}; Optional height = {}; Optional screen_x = {}; Optional screen_y = {}; }; } namespace IPC { template<> ErrorOr encode(Encoder&, Web::HTML::WebViewHints const&); template<> ErrorOr decode(Decoder&); }