diff options
author | Martin Robinson <mrobinson@igalia.com> | 2020-05-07 18:37:18 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2020-05-12 10:22:14 +0200 |
commit | 3b0619aedd967238091367f6e03dabf262e116ad (patch) | |
tree | b2427a9f19befc3017860053d3a416fda3d87275 /components/script_traits/script_msg.rs | |
parent | aa9f16ce45f6eb22ffd5bc6a10802ded4cc2319b (diff) | |
download | servo-3b0619aedd967238091367f6e03dabf262e116ad.tar.gz servo-3b0619aedd967238091367f6e03dabf262e116ad.zip |
Move most animation processing to script
This is preparation for sharing this code with layout_2020 and
implementing selective off-the-main-thread animations.
We still look for nodes not in the flow tree in the layout thread.
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r-- | components/script_traits/script_msg.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index 245a02ec6d2..b5687d6217e 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -61,8 +61,6 @@ pub struct IFrameSizeMsg { /// Messages from the layout to the constellation. #[derive(Deserialize, Serialize)] pub enum LayoutMsg { - /// Indicates whether this pipeline is currently running animations. - ChangeRunningAnimationsState(PipelineId, AnimationState), /// Inform the constellation of the size of the iframe's viewport. IFrameSizes(Vec<IFrameSizeMsg>), /// Requests that the constellation inform the compositor that it needs to record @@ -76,7 +74,6 @@ impl fmt::Debug for LayoutMsg { fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { use self::LayoutMsg::*; let variant = match *self { - ChangeRunningAnimationsState(..) => "ChangeRunningAnimationsState", IFrameSizes(..) => "IFrameSizes", PendingPaintMetric(..) => "PendingPaintMetric", ViewportConstrained(..) => "ViewportConstrained", |