mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Split paint task messages from ScriptMsg
Refs: https://github.com/servo/servo/issues/8592
This commit is contained in:
parent
6ab205a97e
commit
7668fd0503
4 changed files with 50 additions and 15 deletions
|
@ -294,7 +294,6 @@ pub enum ScriptMsg {
|
|||
NewFavicon(Url),
|
||||
/// Status message to be displayed in the chrome, eg. a link URL on mouseover.
|
||||
NodeStatus(Option<String>),
|
||||
PainterReady(PipelineId),
|
||||
/// Notification that this iframe should be removed.
|
||||
RemoveIFrame(PipelineId),
|
||||
ScriptLoadedURLInIFrame(IframeLoadInfo),
|
||||
|
@ -306,6 +305,13 @@ pub enum ScriptMsg {
|
|||
ViewportConstrained(PipelineId, ViewportConstraints),
|
||||
}
|
||||
|
||||
/// Messages from the paint task to the constellation.
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub enum PaintMsg {
|
||||
Ready(PipelineId),
|
||||
Failure(Failure),
|
||||
}
|
||||
|
||||
#[derive(Clone, Eq, PartialEq, Deserialize, Serialize, Debug)]
|
||||
pub enum AnimationState {
|
||||
AnimationsPresent,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue