LibWeb: Implement the ClipboardEvent IDL interface

We don't actually generate any such events ourselves. But Google Lens
will create one with the DataTransfer attribute set to that of any drop
event we send it.
This commit is contained in:
Timothy Flynn 2024-08-20 18:26:55 -04:00 committed by Andreas Kling
commit 0b0d44da27
Notes: github-actions[bot] 2024-08-22 12:23:21 +00:00
7 changed files with 99 additions and 0 deletions

View file

@ -4178,6 +4178,7 @@ static void generate_using_namespace_definitions(SourceGenerator& generator)
generator.append(R"~~~(
// FIXME: This is a total hack until we can figure out the namespace for a given type somehow.
using namespace Web::Animations;
using namespace Web::Clipboard;
using namespace Web::Crypto;
using namespace Web::CSS;
using namespace Web::DOM;