/* * Copyright (c) 2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include namespace Web { class WebViewHooks { public: Function on_context_menu_request; Function on_link_click; Function on_link_context_menu_request; Function on_image_context_menu_request; Function on_link_middle_click; Function on_link_hover; Function on_title_change; Function on_load_start; Function on_load_finish; Function on_favicon_change; Function on_url_drop; Function on_set_document; Function on_get_source; Function on_get_dom_tree; Function on_js_console_output; Function on_get_cookie; Function on_set_cookie; }; }