aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/message.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2018-12-08 12:33:23 -0500
committerJosh Matthews <josh@joshmatthews.net>2018-12-10 08:59:17 -0500
commited74b898a5a5a7227ab68ce7ca68a540fc4dde9a (patch)
tree5a709b6d875268fb7d4973450fbbe258490076a9 /components/script_layout_interface/message.rs
parent8fb1b567fa87a66d3a962060716e3be794ea66b2 (diff)
downloadservo-ed74b898a5a5a7227ab68ce7ca68a540fc4dde9a.tar.gz
servo-ed74b898a5a5a7227ab68ce7ca68a540fc4dde9a.zip
Cancel animations that affect nodes that do not participate in layout.
Diffstat (limited to 'components/script_layout_interface/message.rs')
-rw-r--r--components/script_layout_interface/message.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs
index b159afb3a1c..ae346041439 100644
--- a/components/script_layout_interface/message.rs
+++ b/components/script_layout_interface/message.rs
@@ -98,6 +98,9 @@ pub enum Msg {
/// Send to layout the precise time when the navigation started.
SetNavigationStart(u64),
+
+ /// Request the current number of animations that are running.
+ GetRunningAnimations(IpcSender<usize>),
}
#[derive(Debug, PartialEq)]