LibWeb: Implement navigator.clipboard.read

This commit is contained in:
Timothy Flynn 2025-05-01 18:00:42 -04:00 committed by Tim Flynn
commit 912009f6b3
Notes: github-actions[bot] 2025-05-02 21:47:14 +00:00
5 changed files with 163 additions and 1 deletions

View file

@ -46,7 +46,9 @@ public:
Bindings::PresentationStyle presentation_style() const { return m_presentation_style; }
Vector<String> const& types() const { return m_types; }
Vector<Representation> const& representations() const { return m_representations; }
void append_representation(Representation);
WebIDL::ExceptionOr<GC::Ref<WebIDL::Promise>> get_type(String const& type);