servo/components/shared
Gae24 d470f219b1
Implement Clipboard Event Api (#33576)
* implement ClipboardEvent interface

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* draft implementation of clipboard events

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* handle received clipboard events inside html elemtents

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* use rustdoc style

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* fix compilation errors due to rebase

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* update arboard crate

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* improve paste events

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* code cleanup

revert arboard crate's update, handle text only

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* restrict visibility of some methods to script crate

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* propagate CanGc argument

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* simplify handle_clipboard_msg

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* remove code duplication

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* fix potential borrow hazard

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* add clipboard_event pref, restore unit test code

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* retrict visibility of some document's methods

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* check if clipboardevent is trusted

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* enable clipboardevent

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* fix compilation for egl ports

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

---------

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
2025-01-15 19:45:29 +00:00
..
background_hang_monitor script: Eliminate code duplication in the task queue (#34798) 2025-01-01 13:50:52 +00:00
base chore: remove WindowMethods::rendering_context (#34780) 2025-01-01 08:26:23 +00:00
bluetooth doc(resources): Add documentation to undocumented embedder_traits::resources::Resource variants (#33885) 2024-10-18 03:44:14 +00:00
canvas api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
compositing Implement Clipboard Event Api (#33576) 2025-01-15 19:45:29 +00:00
devtools Support syntax highlighting of arguments in the devtools console (#34810) 2025-01-02 18:47:52 +00:00
embedder Implement Clipboard Event Api (#33576) 2025-01-15 19:45:29 +00:00
fonts Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
net Add Content Range Header and add one for blob end range (#34797) 2025-01-14 00:21:29 +00:00
profile script: Eliminate code duplication in the task queue (#34798) 2025-01-01 13:50:52 +00:00
script Implement Clipboard Event Api (#33576) 2025-01-15 19:45:29 +00:00
script_layout script: Move the FontContext to Window (#34845) 2025-01-07 04:44:31 +00:00
webrender chore: remove WindowMethods::rendering_context (#34780) 2025-01-01 08:26:23 +00:00