mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Auto merge of #8598 - g-k:split-scriptmsg, r=KiChjang
Split paint task messages from ScriptMsg Refs: https://github.com/servo/servo/issues/8592 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8598) <!-- Reviewable:end -->
This commit is contained in:
commit
5e7306bf19
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