servo/components/shared
Ngo Iok Ui (Wu Yu Wei) 07aa4ce093
Simplify RenderingContext trait methods (#35251)
There are a few methods are still difficult to implement without
the help of surfman. To simplify the trait methods, all methods that
return surfman types are removed. They are either handled by
embedders themselves or abstract to simpler types that servo
components need. The most noticeable changes are:

- Methods related to native surface are moved to servo_glue. The
  embedder should decide when to remove/replace the surface and it's
  outside of servo's scope.
- Methods required by servo media now return exact media types for it.

The other major change is sevevral difficult trait methods that are
reuiqred by WebGL and Servo media have default implementation. So they
can be optional for users to implement.

Signed-off-by: Wu Wayne <yuweiwu@pm.me>
2025-02-05 12:02:11 +00:00
..
background_hang_monitor libservo: Port desktop servoshell to use the new WebView API (#35183) 2025-01-28 14:57:57 +00:00
base Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
bluetooth Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
canvas Use surfman with glow bindings (#34328) 2025-02-05 06:13:21 +00:00
compositing script_traits: Rename ConstellationControlMsg to ScriptThreadMessage (#35226) 2025-01-30 22:46:17 +00:00
devtools Support syntax highlighting of arguments in the devtools console (#34810) 2025-01-02 18:47:52 +00:00
embedder libservo: Add WebViewDelegate and ServoDelegate and port winit_minimal (#35196) 2025-02-05 10:08:40 +00:00
fonts Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
net servoshell: Migrate to egui-file-dialog from tinyfiledialogs (#34823) 2025-02-04 18:24:24 +00:00
profile script: Eliminate code duplication in the task queue (#34798) 2025-01-01 13:50:52 +00:00
script script_traits: Rename ConstellationControlMsg to ScriptThreadMessage (#35226) 2025-01-30 22:46:17 +00:00
script_layout script_traits: Rename ConstellationControlMsg to ScriptThreadMessage (#35226) 2025-01-30 22:46:17 +00:00
webrender Simplify RenderingContext trait methods (#35251) 2025-02-05 12:02:11 +00:00
webxr Use surfman with glow bindings (#34328) 2025-02-05 06:13:21 +00:00