diff options
Diffstat (limited to 'components/script_layout_interface/message.rs')
-rw-r--r-- | components/script_layout_interface/message.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs index 22370b043c3..ce97c805bb2 100644 --- a/components/script_layout_interface/message.rs +++ b/components/script_layout_interface/message.rs @@ -40,6 +40,11 @@ pub enum Msg { /// Requests that the layout thread render the next frame of all animations. TickAnimations, + /// Updates layout's timer for animation testing from script. + /// + /// The inner field is the number of *milliseconds* to advance. + AdvanceClockMs(i32), + /// Requests that the layout thread reflow with a newly-loaded Web font. ReflowWithNewlyLoadedWebFont, |