diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-08-05 14:38:33 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-08-05 14:42:45 -0700 |
commit | 0e3d4ab4079878dbb96f14f23d5b189eaa1fca42 (patch) | |
tree | 74fc69cf0115664e187835a5cf1b5ddb9b475117 /components/script_layout_interface/message.rs | |
parent | 805988e839217ccea19e9bdec86462cd8739bf14 (diff) | |
download | servo-0e3d4ab4079878dbb96f14f23d5b189eaa1fca42.tar.gz servo-0e3d4ab4079878dbb96f14f23d5b189eaa1fca42.zip |
layout: Expand animation test mode to support not force-ticking layout.
Diffstat (limited to 'components/script_layout_interface/message.rs')
-rw-r--r-- | components/script_layout_interface/message.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs index b46703e778e..14580be4881 100644 --- a/components/script_layout_interface/message.rs +++ b/components/script_layout_interface/message.rs @@ -42,8 +42,9 @@ pub enum Msg { /// Updates layout's timer for animation testing from script. /// - /// The inner field is the number of *milliseconds* to advance. - AdvanceClockMs(i32), + /// The inner field is the number of *milliseconds* to advance, and the bool + /// field is whether animations should be force-ticked. + AdvanceClockMs(i32, bool), /// Requests that the layout thread reflow with a newly-loaded Web font. ReflowWithNewlyLoadedWebFont, |