mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
Script thread lifetime is now managed by the constellation.
This commit is contained in:
parent
d1b7f19410
commit
0e7ffafbe1
4 changed files with 61 additions and 22 deletions
|
@ -195,6 +195,8 @@ pub enum ConstellationControlMsg {
|
|||
ResizeInactive(PipelineId, WindowSizeData),
|
||||
/// Notifies the script that a pipeline should be closed.
|
||||
ExitPipeline(PipelineId),
|
||||
/// Notifies the script that the whole thread should be closed.
|
||||
ExitScriptThread,
|
||||
/// Sends a DOM event.
|
||||
SendEvent(PipelineId, CompositorEvent),
|
||||
/// Notifies script of the viewport.
|
||||
|
@ -259,6 +261,7 @@ impl fmt::Debug for ConstellationControlMsg {
|
|||
Resize(..) => "Resize",
|
||||
ResizeInactive(..) => "ResizeInactive",
|
||||
ExitPipeline(..) => "ExitPipeline",
|
||||
ExitScriptThread => "ExitScriptThread",
|
||||
SendEvent(..) => "SendEvent",
|
||||
Viewport(..) => "Viewport",
|
||||
SetScrollState(..) => "SetScrollState",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue