/* * Copyright (c) 2020-2021, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include namespace Web { class EditEventHandler { public: explicit EditEventHandler() { } ~EditEventHandler() = default; void handle_delete_character_after(JS::NonnullGCPtr, JS::NonnullGCPtr); void handle_delete(JS::NonnullGCPtr, DOM::Range&); void handle_insert(JS::NonnullGCPtr, JS::NonnullGCPtr, u32 code_point); void handle_insert(JS::NonnullGCPtr, JS::NonnullGCPtr, String); }; }